git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72a476c
)
memleak fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 9 Sep 2003 19:32:52 +0000
(19:32 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 9 Sep 2003 19:32:52 +0000
(19:32 +0000)
Originally committed as revision 2242 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mpeg.c
patch
|
blob
|
history
diff --git
a/libavformat/mpeg.c
b/libavformat/mpeg.c
index
5b405ce
..
73f1b28
100644
(file)
--- a/
libavformat/mpeg.c
+++ b/
libavformat/mpeg.c
@@
-395,6
+395,10
@@
static int mpeg_mux_end(AVFormatContext *ctx)
/* write the end header */
//put_be32(&ctx->pb, ISO_11172_END_CODE);
//put_flush_packet(&ctx->pb);
+
+ for(i=0;i<ctx->nb_streams;i++)
+ av_freep(&ctx->streams[i]->priv_data);
+
return 0;
}