diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-12 19:44:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-12 19:44:01 +0000 |
commit | 7a14430ed75a2eaaa430e46c2f54a7a9a8b71804 (patch) | |
tree | 79a748042b7692cd5dbbc8ae9647999095fcdfbd /libavcodec | |
parent | 663c2edf5a63e147b65a50bba59e94698fcf9aae (diff) | |
download | ffmpeg-7a14430ed75a2eaaa430e46c2f54a7a9a8b71804.tar.gz |
Be less picky on invalid frame_pred_frame_dct values.
Fixed issue1615.
Originally committed as revision 20814 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index b3cbbaefd1..636ae067c8 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1557,7 +1557,7 @@ static void mpeg_decode_picture_coding_extension(Mpeg1Context *s1) 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"); s->frame_pred_frame_dct= 1; } |