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
pull/126/head
Luca Abeni 17 years ago
parent 44369b45eb
commit 6872368355
  1. 1
      libavformat/rtsp.c

@ -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);
} }

Loading…
Cancel
Save