]> git.sesse.net Git - vlc/commitdiff
cmml: remove a potential security problem.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 20 Dec 2009 16:44:56 +0000 (17:44 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Mon, 28 Dec 2009 13:18:27 +0000 (14:18 +0100)
Anyway:
 * cmml samples can't be found in the nature
 * cmml demux does not works AFAIK
 * we will remove cmml soon.

modules/codec/cmml/browser_open.c

index 4295a5fe14249a12f743ddbce381446305cfacbc..f8b8b11564a93cbd5246f189ce0b0c256b30304a 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "browser_open.h"
 
-
+#if 0
 int browser_Open( const char *psz_url )
 {
 #ifdef __APPLE__
@@ -85,4 +85,11 @@ int browser_Open( const char *psz_url )
     return i_ret;
 #endif
 }
+#else
+int browser_Open( const char *psz_url )
+{
+    (void)psz_url;
+    return -1;
+}
+#endif