aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg12.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-05 09:36:57 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-04-08 15:00:01 +0200
commitca7b2c393a7c04262457c7bcbbdaea40bcafe18d (patch)
tree57ee0f6f501790a30260ef542b03d3ad75ebde55 /libavcodec/mpeg12.c
parent66923165d5b7cdb751e890813e6e8ed23986d820 (diff)
downloadffmpeg-ca7b2c393a7c04262457c7bcbbdaea40bcafe18d.tar.gz
avcodec/mpeg12: Remove always-false check
Forgotten in 7800cc6e82068c6dfb5af53817f03dfda794c568. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index 8d88820c46..62d7fd1814 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -180,8 +180,6 @@ int ff_mpeg1_decode_block_intra(GetBitContext *gb,
component = index <= 3 ? 0 : index - 4 + 1;
diff = decode_dc(gb, component);
- if (diff >= 0xffff)
- return AVERROR_INVALIDDATA;
dc = last_dc[component];
dc += diff;