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

Michael Niedermayer michael at niedermayer.cc
Sat Feb 3 03:03:49 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(-)

breaks fate

make V=2 fate-api-flac
Test api-flac failed. Look at tests/data/fate/api-flac.err for details.
channel layout: stereo, sample rate: 8000
unsorted codec_id 'rv60' and 'vc1'.
Assertion 0 failed at libavcodec/codec_desc.c:3123
Aborted (core dumped)
make: *** [fate-api-flac] Error 134

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- 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/20180203/55e813ab/attachment.sig>

More information about the ffmpeg-devel mailing list