[FFmpeg-devel] [PATCH] avcodec/codec_desc: sort codec_descriptors

Michael Niedermayer michael at niedermayer.cc
Fri Feb 9 04:11:38 EET 2018

On Sat, Feb 03, 2018 at 01:35:34AM +0700, Muhammad Faiz wrote:
> Use bsearch on avcodec_descriptor_get().
> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
> ---
>  libavcodec/codec_desc.c | 1103 ++++++++++++++++++++++++-----------------------
>  1 file changed, 563 insertions(+), 540 deletions(-)

probably ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180209/e582c151/attachment.sig>

More information about the ffmpeg-devel mailing list