aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/flv.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-02-02 11:08:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-02-04 03:10:10 +0100
commitc6347bdf08db4b4893482f3136555d1a84a19347 (patch)
tree39f4b3c1030f8861e3d0bbe22fdfc3bdc59ac385 /libavformat/flv.h
parent4a908866a1356e0a09a0895f0766388f4b4bef52 (diff)
downloadffmpeg-c6347bdf08db4b4893482f3136555d1a84a19347.tar.gz
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)
Diffstat (limited to 'libavformat/flv.h')
0 files changed, 0 insertions, 0 deletions