aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-01-13 15:09:10 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-01-13 15:14:13 +0100
commit9f47f95e7087fc03605cbc1f9738fc1201fdb43f (patch)
treecfe386fd380a134412bafa02a43846b6d3790575 /libavcodec
parent9b89824f20223c6e84c897540456642211d54e7e (diff)
parent9aa22918c258bfe8ee0769fe158d41a344e3178a (diff)
downloadffmpeg-9f47f95e7087fc03605cbc1f9738fc1201fdb43f.tar.gz
Merge remote-tracking branch 'qatar/release/9' into release/1.1
* qatar/release/9: prores: Error out only on surely incomplete ac_coeffs Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/proresdec_lgpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresdec_lgpl.c b/libavcodec/proresdec_lgpl.c
index 9308e74669..0665e3d5e7 100644
--- a/libavcodec/proresdec_lgpl.c
+++ b/libavcodec/proresdec_lgpl.c
@@ -389,7 +389,7 @@ static inline int decode_ac_coeffs(GetBitContext *gb, DCTELEM *out,
bits_left = get_bits_left(gb);
if (bits_left <= 0 || (bits_left <= 8 && !show_bits(gb, bits_left)))
- return AVERROR_INVALIDDATA;
+ return 0;
run = decode_vlc_codeword(gb, ff_prores_ac_codebook[run_cb_index]);
if (run < 0)