[FFmpeg-devel] [PATCH] cmdutils: sort codec list.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Sep 22 21:44:44 CEST 2012


On Sat, Sep 22, 2012 at 09:38:21PM +0200, Michael Niedermayer wrote:
> On Sat, Sep 22, 2012 at 07:31:55PM +0200, Nicolas George wrote:
> > The list is sorted first by type (video first)
> > and then alphabetically by name.
> > 
> > Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> > ---
> >  cmdutils.c |   25 ++++++++++++++++++++++++-
> >  1 file changed, 24 insertions(+), 1 deletion(-)
> 
> i need to read the ML before working on things ...
> your patch is fine, qsort is better, please also fix print_codecs()
> though

It could also do with using your simpler comparison function.


More information about the ffmpeg-devel mailing list