Commit ea1d64ab authored by Paul B Mahol's avatar Paul B Mahol Committed by Ronald S. Bultje

ttadec: unbreak playback of matroska files

Matroska demuxer needs to recreate tta header, so just display
crc error without aborting.
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
Signed-off-by: 's avatarRonald S. Bultje <rsbultje@gmail.com>
parent 12623a80
......@@ -208,8 +208,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 */
......
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