[Ffmpeg-cvslog] CVS: ffmpeg output_example.c,1.15,1.16
Michael Niedermayer CVS
michael
Sat Jul 23 17:43:09 CEST 2005
Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv13941
Modified Files:
output_example.c
Log Message:
10l (!= vs. >)
Index: output_example.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/output_example.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- output_example.c 17 Jul 2005 22:24:35 -0000 1.15
+++ output_example.c 23 Jul 2005 15:43:07 -0000 1.16
@@ -353,7 +353,7 @@
/* encode the image */
out_size = avcodec_encode_video(c, video_outbuf, video_outbuf_size, picture);
/* if zero size, it means the image was buffered */
- if (out_size != 0) {
+ if (out_size > 0) {
AVPacket pkt;
av_init_packet(&pkt);
More information about the ffmpeg-cvslog
mailing list