Browse Source

avcodec/qdmc: Don't check for errors for complete VLCs

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
b81e6437ca
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/qdmc.c

+ 0
- 2
libavcodec/qdmc.c View File

@@ -370,8 +370,6 @@ static int qdmc_get_vlc(GetBitContext *gb, VLC *table, int flag)
if (get_bits_left(gb) < 1) if (get_bits_left(gb) < 1)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
v = get_vlc2(gb, table->table, table->bits, 2); v = get_vlc2(gb, table->table, table->bits, 2);
if (v < 0)
return AVERROR_INVALIDDATA;
if (v) if (v)
v = v - 1; v = v - 1;
else else


Loading…
Cancel
Save