projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a57c6
)
double free patch by (Måns Rullgård <mru inprovide com>)
author
Måns Rullgård
<mans@mansr.com>
Wed, 9 Mar 2005 02:12:44 +0000
(
02:12
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 9 Mar 2005 02:12:44 +0000
(
02:12
+0000)
"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
libavformat/mpegtsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/mpegtsenc.c
b/libavformat/mpegtsenc.c
index fbbb83db03a381ed443fee6a1c4c7211f484d8dc..3cce37c9f30ff930c9c4cb60593f476153e25b7b 100644
(file)
--- 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;
}