[FFmpeg-cvslog] r20814 - trunk/libavcodec/mpeg12.c

michael subversion
Sat Dec 12 20:44:01 CET 2009


Author: michael
Date: Sat Dec 12 20:44:01 2009
New Revision: 20814

Log:
Be less picky on invalid invalid frame_pred_frame_dct values.
Fixed issue1615.

Modified:
   trunk/libavcodec/mpeg12.c

Modified: trunk/libavcodec/mpeg12.c
==============================================================================
--- trunk/libavcodec/mpeg12.c	Sat Dec 12 20:15:56 2009	(r20813)
+++ trunk/libavcodec/mpeg12.c	Sat Dec 12 20:44:01 2009	(r20814)
@@ -1557,7 +1557,7 @@ static void mpeg_decode_picture_coding_e
         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;
     }



More information about the ffmpeg-cvslog mailing list