[FFmpeg-devel] [PATCH 1/5] lavc: add a table of all codecs names
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5563 bytes
Desc: not available
More information about the ffmpeg-devel