[FFmpeg-cvslog] r14006 - trunk/libavformat/rtsp.c

lucabe subversion
Fri Jun 27 13:55:25 CEST 2008


Author: lucabe
Date: Fri Jun 27 13:55:25 2008
New Revision: 14006

Log:
Do not free the priv_data field of AVStream on close (it is already
freed by av_close_input_stream())


Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	(original)
+++ trunk/libavformat/rtsp.c	Fri Jun 27 13:55:25 2008
@@ -842,7 +842,6 @@ static void rtsp_close_streams(RTSPState
             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);
 }




More information about the ffmpeg-cvslog mailing list