X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Ftta.c;h=b463946724ada35b97702132d1355d53cdbf3f5d;hb=a8cedbebf163ad376abc4703b3156c44d0858404;hp=4dc879cd09f4072f56e46d47882aeebc2fcb2363;hpb=f095391a140ed3f379e1fb16605fac821c3e6660;p=ffmpeg diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 4dc879cd09f..b463946724a 100644 --- a/libavcodec/tta.c +++ b/libavcodec/tta.c @@ -218,8 +218,7 @@ static av_cold int tta_decode_init(AVCodecContext * avctx) { if (avctx->err_recognition & AV_EF_CRCCHECK) { s->crc_table = av_crc_get_table(AV_CRC_32_IEEE_LE); - if (tta_check_crc(s, avctx->extradata, 18)) - return AVERROR_INVALIDDATA; + tta_check_crc(s, avctx->extradata, 18); } /* signature */