GNOME Bugzilla – Bug 574443
rtsp win32 - forgotten variable
Last modified: 2009-03-08 17:18:39 UTC
You've moved the relevant code to do_connect(), but left the unsigned long flags behind. diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 0cdc6c6..8535dcd 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -740,9 +740,6 @@ gst_rtsp_connection_connect (GstRTSPConnection * conn, GTimeVal * timeout) const gchar *ip; guint16 port; GstRTSPUrl *url; -#ifdef G_OS_WIN32 - unsigned long flags = 1; -#endif /* G_OS_WIN32 */ g_return_val_if_fail (conn != NULL, GST_RTSP_EINVAL); g_return_val_if_fail (conn->url != NULL, GST_RTSP_EINVAL);
commit eb3ff95a3aba1306f9621aee83a8a88ee2c05168 Author: LRN <lrn1986@gmail.com> Date: Sun Mar 8 18:17:48 2009 +0100 rtsp: fix compilation on windows. Remove unused variable when building for windows. Fixes #574443.