changeset 3524:06579d9dbc72 libavformat

Do not free the priv_data field of AVStream on close (it is already freed by av_close_input_stream())
author lucabe
date Fri, 27 Jun 2008 11:55:25 +0000
parents 2f27f367900e
children 3fb9221edfe9
files rtsp.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 }