aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-12 18:12:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-12 18:12:13 +0000
commit83b074704b90e4373bec74102a9f3ab8a960b26d (patch)
tree1a361902d3dfb716f286ccd07e874b15cd672187
parent7b0c0c3c29711c7c7c00894f8910f6ab92503536 (diff)
downloadffmpeg-83b074704b90e4373bec74102a9f3ab8a960b26d.tar.gz
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
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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) {