Commit 2e747cc1 authored by michaelni's avatar michaelni

memleak fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2242 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6f73c21c
......@@ -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;
}
......
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