diff options
author | Måns Rullgård <mans@mansr.com> | 2005-03-09 02:12:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-09 02:12:44 +0000 |
commit | 0044a8f80df366643bcfaf74011e41a2658c88f8 (patch) | |
tree | 7d44afbce8b0d79060ea497131c16182c4bfac6e /libavformat/mpegtsenc.c | |
parent | d8a57c6db9a7b7b98590d0a239289de7215ad8d3 (diff) | |
download | ffmpeg-streaming-0044a8f80df366643bcfaf74011e41a2658c88f8.zip ffmpeg-streaming-0044a8f80df366643bcfaf74011e41a2658c88f8.tar.gz |
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
Diffstat (limited to 'libavformat/mpegtsenc.c')
-rw-r--r-- | libavformat/mpegtsenc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index fbbb83d..3cce37c 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -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; } |