aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-07-23 15:43:07 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-07-23 15:43:07 +0000
commitb5bc8591eee3bb0632cbb11e255178c95becaebd (patch)
treef6b9019d2f6c0ee63d030e0266dc4d607b7ec457
parentd9dd7a0d2cf22077e2441fd6396e07bb23de6fe5 (diff)
downloadffmpeg-b5bc8591eee3bb0632cbb11e255178c95becaebd.tar.gz
10l (!= vs. >)
Originally committed as revision 4468 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--output_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output_example.c b/output_example.c
index e419c24f4a..f61229dedd 100644
--- a/output_example.c
+++ b/output_example.c
@@ -353,7 +353,7 @@ void write_video_frame(AVFormatContext *oc, AVStream *st)
/* 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);