1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Merge remote-tracking branch 'qatar/master'

* qatar/master:
  prores: Error out only on surely incomplete ac_coeffs

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-10-10 12:21:47 +02:00
commit 3fa4c528a9

View File

@ -391,7 +391,7 @@ static inline int decode_ac_coeffs(GetBitContext *gb, int16_t *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]);