]> git.sesse.net Git - vlc/commitdiff
control/
authorRémi Denis-Courmont <rem@videolan.org>
Tue, 12 Sep 2006 19:00:51 +0000 (19:00 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Tue, 12 Sep 2006 19:00:51 +0000 (19:00 +0000)
modules/control/http/macro.c
modules/control/http/util.c
modules/control/rc.c

index c3bec179cf074ee91a7dae196fc9e67773bd75e6..9c122c8699735c4c892415e41266a37850dc9476 100644 (file)
@@ -25,6 +25,7 @@
 
 #include "http.h"
 #include "macros.h"
+#include "vlc_url.h"
 
 int E_(MacroParse)( macro_t *m, char *psz_src )
 {
index 33a3ae8d5fb0d87bdf2f9d9c8c76d6a332c97f48..3ccf2f80794f9447429c6325ef7bf86de9fea135 100644 (file)
@@ -23,6 +23,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include <vlc/vlc.h>
+#include <stdio.h>
 #include "http.h"
 #include "vlc_strings.h"
 
index 627bcb590a000a043b19bae1c2a9096cd11060eb..780b97afc3edb019d11ef72eadaa44028d1c6c88 100644 (file)
@@ -25,6 +25,8 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#include <vlc/vlc.h>
+
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
 
@@ -33,7 +35,6 @@
 #include <ctype.h>
 #include <signal.h>
 
-#include <vlc/vlc.h>
 #include <vlc/intf.h>
 #include <vlc/aout.h>
 #include <vlc/vout.h>
@@ -1978,7 +1979,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
         /* get */
         vlc_value_t val, text;
         int i;
-        float f_value;
+        float f_value = 0.;
         char *psz_value = NULL;
 
         if ( var_Get( p_vout, psz_variable, &val ) < 0 )