diff mpeg.c @ 540:26a477a5ebda libavformat

move free() of AVStream priv data to av_write_trailer()
author michael
date Fri, 01 Oct 2004 16:30:15 +0000
parents 78a8cbdad269
children 23a5448ade32
line wrap: on
line diff
--- a/mpeg.c	Fri Oct 01 16:00:00 2004 +0000
+++ b/mpeg.c	Fri Oct 01 16:30:15 2004 +0000
@@ -1012,9 +1012,6 @@
     //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