Forgotten in 7800cc6e82068c6dfb5af53817f03dfda794c568. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> --- libavcodec/mpeg12.c | 2 -- 1 file changed, 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; -- 2.40.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".