aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-10 20:29:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-10 20:29:39 +0000
commit4bbc62606d5724cb52ca4fa3eb2a7b0e4cd159c3 (patch)
treebbe88b0987fc305366e19baed03bc77f64e34fc2
parentc31b81216619e6b3d986ce63c82357993e10e8e9 (diff)
downloadffmpeg-4bbc62606d5724cb52ca4fa3eb2a7b0e4cd159c3.tar.gz
10l (ret vs. ret>0)
Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index eabebb760d..140efeb988 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -899,7 +899,7 @@ static void do_video_out(AVFormatContext *s,
bit_buffer, bit_buffer_size,
&big_picture);
//enc->frame_number = enc->real_pict_num;
- if(ret){
+ if(ret>0){
pkt.data= bit_buffer;
pkt.size= ret;
if(enc->coded_frame)