mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mv30: Don't check for errors for complete VLCs
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
50d50653d1
commit
37f510d3f4
|
@ -379,9 +379,6 @@ static int decode_coeffs(GetBitContext *gb, int16_t *coeffs, int nb_codes)
|
||||||
for (int i = 0; i < nb_codes;) {
|
for (int i = 0; i < nb_codes;) {
|
||||||
int value = get_vlc2(gb, cbp_tab.table, cbp_tab.bits, 1);
|
int value = get_vlc2(gb, cbp_tab.table, cbp_tab.bits, 1);
|
||||||
|
|
||||||
if (value < 0)
|
|
||||||
return AVERROR_INVALIDDATA;
|
|
||||||
|
|
||||||
if (value > 0) {
|
if (value > 0) {
|
||||||
int x = get_bits(gb, value);
|
int x = get_bits(gb, value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue