Browse Source

prores: Error out only on surely incomplete ac_coeffs

tags/n2.1
Luca Barbato 11 years ago
parent
commit
2df7f7714a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/proresdec.c

+ 1
- 1
libavcodec/proresdec.c View File

@@ -390,7 +390,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]);



Loading…
Cancel
Save