Commit 9d90c37f authored by Michael Niedermayer's avatar Michael Niedermayer

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

Originally committed as revision 2242 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 72a476c1
...@@ -395,6 +395,10 @@ static int mpeg_mux_end(AVFormatContext *ctx) ...@@ -395,6 +395,10 @@ static int mpeg_mux_end(AVFormatContext *ctx)
/* write the end header */ /* write the end header */
//put_be32(&ctx->pb, ISO_11172_END_CODE); //put_be32(&ctx->pb, ISO_11172_END_CODE);
//put_flush_packet(&ctx->pb); //put_flush_packet(&ctx->pb);
for(i=0;i<ctx->nb_streams;i++)
av_freep(&ctx->streams[i]->priv_data);
return 0; 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