[SCM] libav/experimental: 10l (ret vs. ret>0)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:42:38 UTC 2013


The following commit has been merged in the experimental branch:
commit 4bbc62606d5724cb52ca4fa3eb2a7b0e4cd159c3
Author: Michael Niedermayer <michaelni at gmx.at>
Date:   Mon Jan 10 20:29:39 2005 +0000

    10l (ret vs. ret>0)
    
    Originally committed as revision 3818 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/ffmpeg.c b/ffmpeg.c
index eabebb7..140efeb 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)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list