projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12623a8
)
ttadec: unbreak playback of matroska files
author
Paul B Mahol
<onemda@gmail.com>
Tue, 6 Mar 2012 20:26:48 +0000
(20:26 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 8 Mar 2012 19:56:45 +0000
(11:56 -0800)
Matroska demuxer needs to recreate tta header, so just display
crc error without aborting.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/tta.c
patch
|
blob
|
history
diff --git
a/libavcodec/tta.c
b/libavcodec/tta.c
index
269ba86
..
ad80246
100644
(file)
--- a/
libavcodec/tta.c
+++ b/
libavcodec/tta.c
@@
-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 */