From 6872368355fd5454df87ab79c9faf3063c5189b4 Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 27 Jun 2008 11:55:25 +0000 Subject: [PATCH] Do not free the priv_data field of AVStream on close (it is already freed by av_close_input_stream()) Originally committed as revision 14006 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index b0f63967ac..79fa4e19ad 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -842,7 +842,6 @@ static void rtsp_close_streams(RTSPState *rt) if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context) rtsp_st->dynamic_handler->close(rtsp_st->dynamic_protocol_context); } - av_free(rtsp_st); } av_free(rt->rtsp_streams); }