[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec h264.c,1.202,1.203

Loren Merritt CVS lorenm
Sun Apr 30 21:31:48 CEST 2006


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv19267

Modified Files:
	h264.c 
Log Message:
warn on interlaced streams



Index: h264.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/h264.c,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- h264.c	29 Apr 2006 00:43:15 -0000	1.202
+++ h264.c	30 Apr 2006 19:31:45 -0000	1.203
@@ -7284,6 +7284,8 @@
 
     sps->frame_mbs_only_flag= get_bits1(&s->gb);
     if(!sps->frame_mbs_only_flag)
+        av_log(h->s.avctx, AV_LOG_ERROR, "interlacing is not supported, picture will probably be garbage\n");
+    if(!sps->frame_mbs_only_flag)
         sps->mb_aff= get_bits1(&s->gb);
     else
         sps->mb_aff= 0;





More information about the ffmpeg-cvslog mailing list