From 00b7fbdcf56ad742f9cbfd6741ba723c4dc07903 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Wed, 11 Mar 2009 06:13:14 +0000 Subject: [PATCH] 10l, set ret to 0 when finished Originally committed as revision 17931 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index eb91de9d06..83fdb378db 100644 --- 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);