[vlc-commits] fix regression from 3118035
Sébastien Escudier
git at videolan.org
Thu Feb 7 12:21:21 CET 2013
vlc | branch: master | Sébastien Escudier <sebastien-devel at celeos.eu> | Thu Feb 7 12:12:16 2013 +0100| [2c1b60aec7e7fbeb4d0f0007c1933ad1572af490] | committer: Sébastien Escudier
fix regression from 3118035
Closes #8076
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c1b60aec7e7fbeb4d0f0007c1933ad1572af490
---
modules/access/live555.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
index 2e4cfca..30f16f7 100644
--- a/modules/access/live555.cpp
+++ b/modules/access/live555.cpp
@@ -527,7 +527,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