diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-01 16:30:15 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-01 16:30:15 +0000 |
commit | c40a3a42e1e9cb47e5ac72dad2c54decb9c3a459 (patch) | |
tree | eb44ec8156864abce81ea4fdd5fb5e2a661d99bc /libavformat/mpeg.c | |
parent | 95f97de146357660b58b6f8642742fc1dceeba9b (diff) | |
download | ffmpeg-c40a3a42e1e9cb47e5ac72dad2c54decb9c3a459.tar.gz |
move free() of AVStream priv data to av_write_trailer()
Originally committed as revision 3548 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 1208880d0e..38ae418fd6 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -1012,9 +1012,6 @@ static int mpeg_mux_end(AVFormatContext *ctx) //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; } #endif //CONFIG_ENCODERS |