diff options
author | Martin Storsjö <martin@martin.st> | 2011-02-02 10:57:26 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-02-03 01:03:31 +0100 |
commit | ce41c51b0c71c87f623914ba0786aef325d818fe (patch) | |
tree | 78b84191c0e7ae372a842b36008033e38bf73fc9 /libavformat/rtsp.c | |
parent | d9c0510e22821baa364306d867ffac45da0620c8 (diff) | |
download | ffmpeg-ce41c51b0c71c87f623914ba0786aef325d818fe.tar.gz |
Free AVStream->info in chained muxers
This fixes memory leaks in the RTSP muxer and RTP hinting in the
mov muxer present since SVN rev 25418.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index e1d750324d..52c686c3e5 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -500,6 +500,7 @@ void ff_rtsp_undo_setup(AVFormatContext *s) } av_metadata_free(&rtpctx->streams[0]->metadata); av_metadata_free(&rtpctx->metadata); + av_free(rtpctx->streams[0]->info); av_free(rtpctx->streams[0]); av_free(rtpctx); } else if (rt->transport == RTSP_TRANSPORT_RDT && CONFIG_RTPDEC) |