You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
mpeg12dec: dont consider parsing extradata as having achived sync.
Fixes Ticket67 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -2346,6 +2346,7 @@ static int decode_chunks(AVCodecContext *avctx,
|
||||
case SEQ_START_CODE:
|
||||
if (last_code == 0) {
|
||||
mpeg1_decode_sequence(avctx, buf_ptr, input_size);
|
||||
if(buf != avctx->extradata)
|
||||
s->sync=1;
|
||||
} else {
|
||||
av_log(avctx, AV_LOG_ERROR, "ignoring SEQ_START_CODE after %X\n", last_code);
|
||||
|
Reference in New Issue
Block a user