changeset 693:d7109f709265 libavformat

double free patch by (Mns Rullgrd <mru inprovide com>) "This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."
author michael
date Wed, 09 Mar 2005 02:12:44 +0000
parents b0144ebc71dd
children 50e07cfe1e4f
files mpegtsenc.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mpegtsenc.c	Sun Mar 06 19:52:41 2005 +0000
+++ b/mpegtsenc.c	Wed Mar 09 02:12:44 2005 +0000
@@ -604,10 +604,6 @@
     }
     av_free(ts->services);
 
-    for(i = 0; i < s->nb_streams; i++) {
-        st = s->streams[i];
-        av_free(st->priv_data);
-    }
     return 0;
 }