Commit 4885d16c authored by ramiro's avatar ramiro

Fix memleak

Closes issue 102

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10719 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9a580030
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment