mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/qdmc: Don't check for errors for complete VLCs
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
e68247d5cf
commit
b81e6437ca
@ -370,8 +370,6 @@ static int qdmc_get_vlc(GetBitContext *gb, VLC *table, int flag)
|
||||
if (get_bits_left(gb) < 1)
|
||||
return AVERROR_INVALIDDATA;
|
||||
v = get_vlc2(gb, table->table, table->bits, 2);
|
||||
if (v < 0)
|
||||
return AVERROR_INVALIDDATA;
|
||||
if (v)
|
||||
v = v - 1;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user