mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-16 03:37:00 +00:00
avcodec/mpeg12dec: Do not choke on extra m704 alpha data
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a67816bcce
commit
390703fcf5
@ -1896,6 +1896,10 @@ static int mpeg_decode_slice(MpegEncContext *s, int mb_y,
|
|||||||
av_log(avctx, AV_LOG_DEBUG, "Invalid MXF data found in video stream\n");
|
av_log(avctx, AV_LOG_DEBUG, "Invalid MXF data found in video stream\n");
|
||||||
is_d10 = 1;
|
is_d10 = 1;
|
||||||
}
|
}
|
||||||
|
if (left > 32 && show_bits_long(&gb, 32) == 0x201) {
|
||||||
|
av_log(avctx, AV_LOG_DEBUG, "skipping m704 alpha (unsupported)\n");
|
||||||
|
goto eos;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (left < 0 ||
|
if (left < 0 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user