ffmpeg | branch: master | Michael Niedermayer <mich...@niedermayer.cc> | Mon Dec 31 18:49:27 2018 +0100| [bb2d8708f7bc463abbf918eb54a815c74d9bb613] | committer: Michael Niedermayer
avcodec/binkaudio: Use assert instead of return for use of compile time disabled codecs Reviewed-by: Paul B Mahol <one...@gmail.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb2d8708f7bc463abbf918eb54a815c74d9bb613 --- libavcodec/binkaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index e0f3d14eef..96cf968c66 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -139,7 +139,7 @@ static av_cold int decode_init(AVCodecContext *avctx) else if (CONFIG_BINKAUDIO_DCT_DECODER) ff_dct_init(&s->trans.dct, frame_len_bits, DCT_III); else - return -1; + av_assert0(0); s->pkt = av_packet_alloc(); if (!s->pkt) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog