10l, set ret to 0 when finished
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 11 Mar 2009 06:13:14 +0000 (06:13 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 11 Mar 2009 06:13:14 +0000 (06:13 +0000)
Originally committed as revision 17931 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index eb91de9..83fdb37 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2231,6 +2231,7 @@ static int av_encode(AVFormatContext **output_files,
     }
 
     /* finished ! */
+    ret = 0;
 
  fail:
     av_freep(&bit_buffer);