1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
FFmpeg/libavformat
Martin Storsjö c6347bdf08 rtsp: Don't store RTSPStream in AVStream->priv_data
For mpegts in RTP, there isn't a direct mapping between RTSPStreams
and AVStreams, and the RTSPStream isn't ever stored in
AVStream->priv_data, which was earlier leaked. The fix for this
leak, in ea7f080749d68a431226ce196014da38761a0d82, lead to
double frees for other, normal RTP streams.

This patch avoids storing RTSPStreams in AVStream->priv_data, thus
avoiding the double free. The RTSPStreams are always available via
RTSPState->rtsp_streams anyway.

Tested with MS-RTSP, RealRTSP, DSS and mpegts/RTP.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit d9c0510e22821baa364306d867ffac45da0620c8)
2011-02-04 03:10:10 +01:00
..
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2010-10-06 11:40:09 +00:00
2011-01-30 03:41:48 +01:00
2010-11-03 20:12:07 +00:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2010-12-26 01:24:51 +00:00
2011-01-30 03:41:48 +01:00
2010-10-16 13:20:41 +00:00
2010-10-04 19:45:12 +00:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:00 +01:00
2011-01-31 18:25:48 +01:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2010-08-30 21:17:34 +00:00
2010-08-30 21:17:34 +00:00
2011-01-30 03:41:48 +01:00
2011-01-09 02:11:41 +00:00
2010-12-26 01:23:44 +00:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:40:59 +01:00
2011-01-30 03:40:59 +01:00
2011-01-30 03:41:48 +01:00
2011-01-30 03:40:59 +01:00
2011-01-30 03:40:59 +01:00
2011-01-30 03:40:59 +01:00