changeset 10678:fe3cdc16514b libavcodec

Be less picky on invalid frame_pred_frame_dct values. Fixed issue1615.
author michael
date Sat, 12 Dec 2009 19:44:01 +0000
parents abf5c20eebf4
children c1328f04458a
files mpeg12.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg12.c	Sat Dec 12 17:10:05 2009 +0000
+++ b/mpeg12.c	Sat Dec 12 19:44:01 2009 +0000
@@ -1557,7 +1557,7 @@
         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;
     }