never freed buffer fix

based upon a patch by (Kurosu <kurosu inforezo org>)

Originally committed as revision 3829 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-01-12 18:12:13 +00:00
parent 7b0c0c3c29
commit 83b074704b

View File

@ -1969,6 +1969,7 @@ static int av_encode(AVFormatContext **output_files,
ret = 0;
fail1:
av_freep(&bit_buffer);
av_free(file_table);
if (ist_table) {