Commit 57124f03 authored by michael's avatar michael

10l (!= vs. >)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4468 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 71be41a5
...@@ -353,7 +353,7 @@ void write_video_frame(AVFormatContext *oc, AVStream *st) ...@@ -353,7 +353,7 @@ void write_video_frame(AVFormatContext *oc, AVStream *st)
/* encode the image */ /* encode the image */
out_size = avcodec_encode_video(c, video_outbuf, video_outbuf_size, picture); out_size = avcodec_encode_video(c, video_outbuf, video_outbuf_size, picture);
/* if zero size, it means the image was buffered */ /* if zero size, it means the image was buffered */
if (out_size != 0) { if (out_size > 0) {
AVPacket pkt; AVPacket pkt;
av_init_packet(&pkt); av_init_packet(&pkt);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment