[FFmpeg-devel] [PATCH 1/8] avutil/pixdesc: add av_pix_fmt_total_count and av_sample_fmt_total_count

Nicolas George george at nsup.org
Thu Jan 2 18:20:45 EET 2020


Zhao Zhili (12020-01-03):
> Ping for review, thanks! I'm planning to use these API in ff_all_formats() if the patch is acceptable.

For ff_all_formats(), as I told you, you cannot assume there is no gap:
if you want to optimize it, just make a first loop to count the slots
needed.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200102/b47b57b3/attachment.sig>


More information about the ffmpeg-devel mailing list