]> git.sesse.net Git - vlc/blobdiff - modules/codec/theora.c
Compile fix.
[vlc] / modules / codec / theora.c
index 3fdff1122ccabc1141c8081be09d12af26d33a84..fadd7dca15ebfa263b0a5569d3f8b6d90d694800 100644 (file)
@@ -28,7 +28,7 @@
 #include <vlc_codec.h>
 #include <vlc_vout.h>
 #include <vlc_sout.h>
-
+#include <vlc_input.h>
 #include <ogg/ogg.h>
 
 #include <theora/theora.h>
@@ -510,7 +510,7 @@ static void ParseTheoraComments( decoder_t *p_dec )
             *psz_value = '\0';
             psz_value++;
             input_Control( p_input, INPUT_ADD_INFO, _("Theora comment"),
-                           psz_name, psz_value );
+                           psz_name, "%s", psz_value );
         }
         free( psz_comment );
         i++;