Commit 7a14430e authored by Michael Niedermayer's avatar Michael Niedermayer

Be less picky on invalid frame_pred_frame_dct values.

Fixed issue1615.

Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 663c2edf
...@@ -1557,7 +1557,7 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment