diff mov.c @ 3487:2f191d610db9 libavformat

uniformize AVStream->priv_data freeing in av_close_input_stream
author bcoudurier
date Fri, 20 Jun 2008 17:22:56 +0000
parents a9e3cae54bf1
children cdbf302a3c00
line wrap: on
line diff
--- a/mov.c	Fri Jun 20 17:16:56 2008 +0000
+++ b/mov.c	Fri Jun 20 17:22:56 2008 +0000
@@ -1899,7 +1899,6 @@
         av_freep(&sc->drefs);
         if (sc->pb && sc->pb != s->pb)
             url_fclose(sc->pb);
-        av_freep(&sc);
     }
     if(mov->dv_demux){
         for(i=0; i<mov->dv_fctx->nb_streams; i++){