mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/mpeg12: Remove always-false check
Forgotten in 7800cc6e82
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
66923165d5
commit
ca7b2c393a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue