Skip to content
Snippets Groups Projects
Commit 2df7f771 authored by Luca Barbato's avatar Luca Barbato
Browse files

prores: Error out only on surely incomplete ac_coeffs

parent 44690dfa
No related branches found
No related tags found
No related merge requests found
...@@ -390,7 +390,7 @@ static inline int decode_ac_coeffs(GetBitContext *gb, int16_t *out, ...@@ -390,7 +390,7 @@ static inline int decode_ac_coeffs(GetBitContext *gb, int16_t *out,
bits_left = get_bits_left(gb); bits_left = get_bits_left(gb);
if (bits_left <= 0 || (bits_left <= 8 && !show_bits(gb, bits_left))) 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]); run = decode_vlc_codeword(gb, ff_prores_ac_codebook[run_cb_index]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment