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

Michael Niedermayer michaelni at gmx.at
Sat Sep 22 21:38:21 CEST 2012


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

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120922/4f9105db/attachment.asc>


More information about the ffmpeg-devel mailing list