]> git.sesse.net Git - vlc/commitdiff
Fix breakage of other RTSP clients
authorJean-Paul Saman <jpsaman@videolan.org>
Fri, 10 Feb 2006 19:53:09 +0000 (19:53 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 10 Feb 2006 19:53:09 +0000 (19:53 +0000)
modules/misc/rtsp.c

index 039c26d68aa5fc8bc55ee94455f20e710893d1c6..be3c392f0214b90a3b929a098fea9a914710a655 100644 (file)
@@ -724,7 +724,7 @@ static int RtspCallback( httpd_callback_sys_t *p_args, httpd_client_t *cl,
                 answer->p_body = NULL;
             }
 
-            if( !psz_playnow )
+            if( !psz_playnow || !*psz_playnow )
                 break;
         }
 
@@ -981,7 +981,7 @@ static int RtspCallbackES( httpd_callback_sys_t *p_args, httpd_client_t *cl,
                 answer->p_body = NULL;
             }
 
-            if( !psz_playnow )
+            if( !psz_playnow || !*psz_playnow )
                 break;
 
         case HTTPD_MSG_PLAY: