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
pull/126/head
Michael Niedermayer 20 years ago
parent 7b0c0c3c29
commit 83b074704b
  1. 1
      ffmpeg.c

@ -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) {

Loading…
Cancel
Save