Commit cb9d73db authored by michael's avatar michael

double free patch by (Måns Rullgård <mru inprovide com>)

"This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4023 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6e4946ce
......@@ -604,10 +604,6 @@ static int mpegts_write_end(AVFormatContext *s)
}
av_free(ts->services);
for(i = 0; i < s->nb_streams; i++) {
st = s->streams[i];
av_free(st->priv_data);
}
return 0;
}
......
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