X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2F8svx.c;h=092dbaae0403bd8094cc89dd6c8e75f168aaa308;hb=d99707b42a55b2fcfc17b8c9bf3f38c1879dbaa7;hp=edc945c6973e4e1ef889bb3ec13c9d4d2a747435;hpb=d0c43e32427ec1efac364be0987a6aafa695527f;p=ffmpeg diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index edc945c6973..092dbaae040 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -164,8 +164,7 @@ static av_cold int eightsvx_decode_init(AVCodecContext *avctx) case AV_CODEC_ID_8SVX_FIB: esc->table = fibonacci; break; case AV_CODEC_ID_8SVX_EXP: esc->table = exponential; break; default: - av_log(avctx, AV_LOG_ERROR, "Invalid codec id %d.\n", avctx->codec->id); - return AVERROR_INVALIDDATA; + av_assert1(0); } avctx->sample_fmt = AV_SAMPLE_FMT_U8P;