Commit bb2d8708 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/binkaudio: Use assert instead of return for use of compile time disabled codecs

Reviewed-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2d9fe632
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment