avcodec/mpeg12: Remove always-false check

Forgotten in 7800cc6e82.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2024-04-05 09:36:57 +02:00
parent 66923165d5
commit ca7b2c393a
1 changed files with 0 additions and 2 deletions

View File

@ -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;