]> git.sesse.net Git - vlc/blobdiff - modules/access/mms/mmstu.c
Do not try other protocols when ask to quit (mms).
[vlc] / modules / access / mms / mmstu.c
index d7f858679de8ff73e6920e7accd877a034e90151..6961545785af0265f7b942491368cf5c49366df1 100644 (file)
@@ -155,7 +155,8 @@ int  MMSTUOpen( access_t *p_access )
     {   /* first try with TCP and then UDP*/
         if( ( i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_TCP ) ) )
         {
-            i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_UDP );
+            if( !p_access->b_die )
+                i_status = MMSOpen( p_access, &p_sys->url, MMS_PROTO_UDP );
         }
     }
     else