[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec apiexample.c,1.19,1.20

Michael Niedermayer CVS michael
Tue Jun 7 22:57:18 CEST 2005


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

Modified Files:
	apiexample.c 
Log Message:
apiexample fix by (Chip: szarlada, freemail hu)


Index: apiexample.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/apiexample.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- apiexample.c	30 Apr 2005 21:43:56 -0000	1.19
+++ apiexample.c	7 Jun 2005 20:57:15 -0000	1.20
@@ -198,6 +198,7 @@
     c->time_base= (AVRational){1,25};
     c->gop_size = 10; /* emit one intra frame every ten frames */
     c->max_b_frames=1;
+    c->pix_fmt = PIX_FMT_YUV420P;
 
     /* open it */
     if (avcodec_open(c, codec) < 0) {





More information about the ffmpeg-cvslog mailing list