10l, set ret to 0 when finished

Originally committed as revision 17931 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2009-03-11 06:13:14 +00:00
parent 002c95d749
commit 00b7fbdcf5
1 changed files with 1 additions and 0 deletions

View File

@ -2231,6 +2231,7 @@ static int av_encode(AVFormatContext **output_files,
}
/* finished ! */
ret = 0;
fail:
av_freep(&bit_buffer);