[FFmpeg-devel] [PATCH]Improve codecs order

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Sep 22 13:22:03 CEST 2012


Hendrik Leppkes <h.leppkes <at> gmail.com> writes:

> > Attached patch tries to fix ticket #1669.

> The order in that list corresponds to the same order as 
> the AV_CODEC_ID* are defined in their enum, which makes 
> more sense to me then alphabetic ordering

>From a user's perspective? Seriously?

> - helps to check consistency between the two.

Isn't it sufficient to just don't add new codec_ids 
without an entry in the list?

> If some part of the code wants to print an alphabetic 
> list, maybe it should sort it itself.

Patch welcome.
(And afaict, this applies not to some but to every 
part of the code.)

Carl Eugen



More information about the ffmpeg-devel mailing list