diff ffm.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 558a093b04db
children 89bd76208427
line wrap: on
line diff
--- a/ffm.c	Fri Oct 01 16:00:00 2004 +0000
+++ b/ffm.c	Fri Oct 01 16:30:15 2004 +0000
@@ -278,8 +278,6 @@
         put_flush_packet(pb);
     }
 
-    for(i=0;i<s->nb_streams;i++)
-        av_freep(&s->streams[i]->priv_data);
     return 0;
 }
 #endif //CONFIG_ENCODERS