Browse Source

double free patch by (Måns Rullgård <mru inprovide com>)

"This free is handled in av_write_trailer() since Oct 1 2004, but apparently mpegts was missed at the time."

Originally committed as revision 4023 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Måns Rullgård Michael Niedermayer 20 years ago
parent
commit
0044a8f80d
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      libavformat/mpegtsenc.c

+ 0
- 4
libavformat/mpegtsenc.c View File

@@ -604,10 +604,6 @@ static int mpegts_write_end(AVFormatContext *s)
}
av_free(ts->services);

for(i = 0; i < s->nb_streams; i++) {
st = s->streams[i];
av_free(st->priv_data);
}
return 0;
}



Loading…
Cancel
Save