From 83b074704b90e4373bec74102a9f3ab8a960b26d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 12 Jan 2005 18:12:13 +0000 Subject: [PATCH] never freed buffer fix based upon a patch by (Kurosu ) Originally committed as revision 3829 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index df06304c8c..6536794897 100644 --- a/ffmpeg.c +++ b/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) {