avcodec/vc1: Don't check for errors for complete VLC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
e7288a7e02
commit
2e2b404a2d
@ -615,7 +615,7 @@ static void rotate_luts(VC1Context *v)
|
||||
static int read_bfraction(VC1Context *v, GetBitContext* gb) {
|
||||
int bfraction_lut_index = get_vlc2(gb, ff_vc1_bfraction_vlc.table, VC1_BFRACTION_VLC_BITS, 1);
|
||||
|
||||
if (bfraction_lut_index == 21 || bfraction_lut_index < 0) {
|
||||
if (bfraction_lut_index == 21) {
|
||||
av_log(v->s.avctx, AV_LOG_ERROR, "bfraction invalid\n");
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user