diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-03-09 01:22:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-03-09 01:22:31 +0100 |
commit | a8cedbebf163ad376abc4703b3156c44d0858404 (patch) | |
tree | 7198ad7a96b58d3ea53b2208601b707da2db3c00 /libavcodec/tta.c | |
parent | a4524930d9299dbb8fafe165105d83bf7b6d3b89 (diff) | |
parent | ea1d64ab1066145ba919b79a2080f3091d562217 (diff) | |
download | ffmpeg-a8cedbebf163ad376abc4703b3156c44d0858404.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
ttadec: unbreak playback of matroska files
vorbisdec: avoid invalid memory access
Fix uninitialized reads on malformed ogg files.
huffyuv: add padding to classic (v1) huffman tables.
png: convert to bytestream2 API.
dca: include libavutil/mathematics.h for possibly missing M_SQRT1_2
avs: fix infinite loop on end-of-stream.
tiffdec: Prevent illegal memory access caused by recycled pointers.
rtpenc: Fix the AVRational used for av_rescale_q_rnd
wma: fix off-by-one in array bounds check.
Conflicts:
libavcodec/huffyuv.c
libavcodec/pngdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/tta.c')
-rw-r--r-- | libavcodec/tta.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/tta.c b/libavcodec/tta.c index 4dc879cd09..b463946724 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 */ |