[FFmpeg-devel] [PATCH 1/5] lavc: add a table of all codecs names

Nicolas George nicolas.george at normalesup.org
Wed Aug 17 19:32:03 CEST 2011

The attached patch does as the commit message says.

The next patches change a few places to use it and either simplify the code
or make the output more user friendly.

The code, as it is, try to uses the field name of the main decoder or
encoder. It reduces the footprint of about 1400 bytes.

I hesitated about the failback case when no name could be found. In the end,
I chose to go for the simplest, lightest API, which makes it really
appealing to just put avcodec_get_name whenever needed, without requiring a


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavc-add-a-table-of-all-codecs-names.patch
Type: text/x-diff
Size: 5563 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110817/2795de7e/attachment.bin>

More information about the ffmpeg-devel mailing list