aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vqavideo.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-21 03:28:00 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-21 03:28:00 +0100
commita92cdd8963459d108d701ea7a77a4e2074278276 (patch)
tree02b8bc86af730a88834ad084dba71cd1fbbeda48 /libavcodec/vqavideo.c
parentf86da592c3399c749442d8e70d9aef346dac3464 (diff)
parentdfeef3a209ecb3dcf01a1ad14e7fc4586e630e93 (diff)
downloadffmpeg-a92cdd8963459d108d701ea7a77a4e2074278276.tar.gz
Merge branch 'release/0.8' into release/0.7
* release/0.8: cook: check js_subband_start for validity avcodec_align_dimensions2: Ensure cinepak has large enough buffers. Update for 0.8.14 qdm2: increase noise_table size wma: check byte_offset_bits tiff: check bppcount vqavideo: fix return type Conflicts: Doxyfile RELEASE VERSION Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vqavideo.c')
-rw-r--r--libavcodec/vqavideo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c
index 6e1ce6c0d2..e7b2cae26a 100644
--- a/libavcodec/vqavideo.c
+++ b/libavcodec/vqavideo.c
@@ -529,7 +529,7 @@ static void vqa_decode_chunk(VqaContext *s)
if (chunk_size > MAX_CODEBOOK_SIZE - s->next_codebook_buffer_index) {
av_log(s->avctx, AV_LOG_ERROR, "cbp0 chunk too large (0x%X bytes)\n", chunk_size);
- return AVERROR_INVALIDDATA;
+ return;
}
/* accumulate partial codebook */
@@ -557,7 +557,7 @@ static void vqa_decode_chunk(VqaContext *s)
if (chunk_size > MAX_CODEBOOK_SIZE - s->next_codebook_buffer_index) {
av_log(s->avctx, AV_LOG_ERROR, "cbpz chunk too large (0x%X bytes)\n", chunk_size);
- return AVERROR_INVALIDDATA;
+ return;
}
/* accumulate partial codebook */