[vlc-commits] fix regression from 7f12d4609

Sébastien Escudier git at videolan.org
Thu Feb 7 12:33:48 CET 2013


vlc/vlc-2.0 | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Thu Feb  7 12:12:16 2013 +0100| [3f9f3c276da87001aecdf4712fca27f889ddf954] | committer: Sébastien Escudier

fix regression from 7f12d4609
Closes #8076
(cherry picked from commit 2c1b60aec7e7fbeb4d0f0007c1933ad1572af490)

Signed-off-by: Sébastien Escudier <sebastien-devel at celeos.eu>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=3f9f3c276da87001aecdf4712fca27f889ddf954
---

 modules/demux/live555.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/live555.cpp b/modules/demux/live555.cpp
index e75b2fb..f8f040d 100644
--- a/modules/demux/live555.cpp
+++ b/modules/demux/live555.cpp
@@ -536,7 +536,7 @@ static void continueAfterOPTIONS( RTSPClient* client, int result_code,
       // If OPTIONS fails, assume GET_PARAMETER is not supported but
       // still continue on with the stream.  Some servers (foscam)
       // return 501/not implemented for OPTIONS.
-      result_code != 0
+      result_code == 0
       && result_string != NULL
       && strstr( result_string, "GET_PARAMETER" ) != NULL;
     client->sendDescribeCommand( continueAfterDESCRIBE );



More information about the vlc-commits mailing list