Browse Source

10l (!= vs. >)

Originally committed as revision 4468 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 20 years ago
parent
commit
b5bc8591ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      output_example.c

+ 1
- 1
output_example.c View File

@@ -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);


Loading…
Cancel
Save