diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2020-11-05 07:42:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-06 17:41:25 +0100 |
commit | 2e2b404a2d349def27a0436b325e5ff6769f817b (patch) | |
tree | 12aca2e19557d48afc799183e735aba268d5aa97 | |
parent | e7288a7e02b8801d4bd38836a83cf8196ea3ac9b (diff) | |
download | ffmpeg-2e2b404a2d349def27a0436b325e5ff6769f817b.tar.gz |
avcodec/vc1: Don't check for errors for complete VLC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r-- | libavcodec/vc1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index cacb66b15b..9b4e951baa 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -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; } |