projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad4234
)
Fix memleak
author
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 12 Oct 2007 23:25:48 +0000
(23:25 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Fri, 12 Oct 2007 23:25:48 +0000
(23:25 +0000)
Closes issue 102
Originally committed as revision 10719 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asf.c
patch
|
blob
|
history
diff --git
a/libavformat/asf.c
b/libavformat/asf.c
index
6491c0f
..
4c99182
100644
(file)
--- a/
libavformat/asf.c
+++ b/
libavformat/asf.c
@@
-878,10
+878,13
@@
static int asf_read_packet(AVFormatContext *s, AVPacket *pkt)
return 0;
}
+static void asf_reset_header(AVFormatContext *s);
+
static int asf_read_close(AVFormatContext *s)
{
int i;
+ asf_reset_header(s);
for(i=0;i<s->nb_streams;i++) {
AVStream *st = s->streams[i];
av_free(st->priv_data);