diff rtspenc.c @ 5756:7c7fe75728dd libavformat

Use ff_url_join for assembling URLs, instead of snprintf This ensures proper escaping of numerical IPv6 addresses. The RTSP (de)muxer needs its own network initialization, since it isn't a protocol and url_open hasn't been called yet.
author mstorsjo
date Fri, 05 Mar 2010 22:35:21 +0000
parents 82b0dc4f052a
children 4410bccf6a8a
line wrap: on
line diff
--- a/rtspenc.c	Fri Mar 05 22:31:45 2010 +0000
+++ b/rtspenc.c	Fri Mar 05 22:35:21 2010 +0000
@@ -116,6 +116,7 @@
 
     ff_rtsp_close_streams(s);
     url_close(rt->rtsp_hd);
+    ff_network_close();
     return 0;
 }