Commit 68723683 authored by Luca Abeni's avatar Luca Abeni

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
parent 44369b45
...@@ -842,7 +842,6 @@ static void rtsp_close_streams(RTSPState *rt) ...@@ -842,7 +842,6 @@ static void rtsp_close_streams(RTSPState *rt)
if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context) if (rtsp_st->dynamic_handler && rtsp_st->dynamic_protocol_context)
rtsp_st->dynamic_handler->close(rtsp_st->dynamic_protocol_context); rtsp_st->dynamic_handler->close(rtsp_st->dynamic_protocol_context);
} }
av_free(rtsp_st);
} }
av_free(rt->rtsp_streams); av_free(rt->rtsp_streams);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment