[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpeg12.c,1.238,1.239

Michael Niedermayer CVS michael
Wed May 18 21:42:44 CEST 2005


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

Modified Files:
	mpeg12.c 
Log Message:
fix mpeg2 chroma_420_type


Index: mpeg12.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpeg12.c,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -d -r1.238 -r1.239
--- mpeg12.c	14 May 2005 15:34:49 -0000	1.238
+++ mpeg12.c	18 May 2005 19:42:41 -0000	1.239
@@ -468,8 +468,8 @@
         put_bits(&s->pb, 1, s->intra_vlc_format);
         put_bits(&s->pb, 1, s->alternate_scan);
         put_bits(&s->pb, 1, s->repeat_first_field);
-        put_bits(&s->pb, 1, s->chroma_420_type=1);
         s->progressive_frame = s->progressive_sequence;
+        put_bits(&s->pb, 1, s->chroma_420_type=s->progressive_frame);
         put_bits(&s->pb, 1, s->progressive_frame);
         put_bits(&s->pb, 1, 0); //composite_display_flag
     }





More information about the ffmpeg-cvslog mailing list