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

Michael Niedermayer michael at niedermayer.cc
Sat Feb 3 03:13:35 EET 2018


On Sat, Feb 03, 2018 at 02:03:49AM +0100, Michael Niedermayer wrote:
> 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

please ignore this, this seems to have been an interaction with another patch

this alone doesnt fail

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- 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/7952b33d/attachment.sig>


More information about the ffmpeg-devel mailing list