mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Be less picky on invalid frame_pred_frame_dct values.
Fixed issue1615. Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
663c2edf5a
commit
7a14430ed7
@ -1557,7 +1557,7 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1)
|
|||||||
s->picture_structure= PICT_FRAME;
|
s->picture_structure= PICT_FRAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(s->progressive_frame && !s->frame_pred_frame_dct){
|
if(s->progressive_sequence && !s->frame_pred_frame_dct){
|
||||||
av_log(s->avctx, AV_LOG_ERROR, "invalid frame_pred_frame_dct\n");
|
av_log(s->avctx, AV_LOG_ERROR, "invalid frame_pred_frame_dct\n");
|
||||||
s->frame_pred_frame_dct= 1;
|
s->frame_pred_frame_dct= 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user