summaryrefslogtreecommitdiff
path: root/libavformat/ffm.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-10-01 16:30:15 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-10-01 16:30:15 +0000
commitc40a3a42e1e9cb47e5ac72dad2c54decb9c3a459 (patch)
treeeb44ec8156864abce81ea4fdd5fb5e2a661d99bc /libavformat/ffm.c
parent95f97de146357660b58b6f8642742fc1dceeba9b (diff)
downloadffmpeg-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/ffm.c')
-rw-r--r--libavformat/ffm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/ffm.c b/libavformat/ffm.c
index 89764c3497..ce18d5fe9a 100644
--- a/libavformat/ffm.c
+++ b/libavformat/ffm.c
@@ -278,8 +278,6 @@ static int ffm_write_trailer(AVFormatContext *s)
put_flush_packet(pb);
}
- for(i=0;i<s->nb_streams;i++)
- av_freep(&s->streams[i]->priv_data);
return 0;
}
#endif //CONFIG_ENCODERS