mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
prores: Error out only on surely incomplete ac_coeffs
This commit is contained in:
parent
44690dfa68
commit
2df7f7714a
@ -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…
Reference in New Issue
Block a user