# HG changeset patch # User lucabe # Date 1214567725 0 # Node ID 06579d9dbc72670106bd9689b204c72b52500ca8 # Parent 2f27f367900e2a29badd956d7f471d6b70bfdff3 Do not free the priv_data field of AVStream on close (it is already freed by av_close_input_stream()) diff -r 2f27f367900e -r 06579d9dbc72 rtsp.c --- a/rtsp.c Thu Jun 26 23:06:10 2008 +0000 +++ b/rtsp.c Fri Jun 27 11:55:25 2008 +0000 @@ -842,7 +842,6 @@ 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); }