mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/binkaudio: Use assert instead of return for use of compile time disabled codecs
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2d9fe6321e
commit
bb2d8708f7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue