10l, set ret to 0 when finished

Originally committed as revision 17931 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Baptiste Coudurier 16 years ago
parent 002c95d749
commit 00b7fbdcf5
  1. 1
      ffmpeg.c

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

Loading…
Cancel
Save