[FFmpeg-cvslog] r19082 - trunk/libavcodec/h264.c

michael subversion
Wed Jun 3 21:24:51 CEST 2009


Author: michael
Date: Wed Jun  3 21:24:51 2009
New Revision: 19082

Log:
Fix sei_ct_type check so it does not mistreat ct_type= unknown.

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Wed Jun  3 21:23:34 2009	(r19081)
+++ trunk/libavcodec/h264.c	Wed Jun  3 21:24:51 2009	(r19082)
@@ -7793,7 +7793,7 @@ static int decode_frame(AVCodecContext *
 
             /* Signal interlacing information externally. */
             /* Prioritize picture timing SEI information over used decoding process if it exists. */
-            if (h->sei_ct_type)
+            if (h->sei_ct_type & 3)
                 cur->interlaced_frame = (h->sei_ct_type & (1<<1)) != 0;
             else
                 cur->interlaced_frame = FIELD_OR_MBAFF_PICTURE;



More information about the ffmpeg-cvslog mailing list