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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue