]> git.sesse.net Git - vlc/blobdiff - modules/demux/rawvid.c
threads: Make sure we don't re-create a thread if the object has already one.
[vlc] / modules / demux / rawvid.c
index b6ee4da2c65f13dde3c3e687369f9a201a1899ae..21bdb4fde15cdf5bf6dd3652459b95a4dfa230f9 100644 (file)
@@ -30,7 +30,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_demux.h>
 #include <vlc_vout.h>                                     /* vout_InitFormat */
@@ -62,7 +62,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_shortname( "Raw Video" );
-    set_description( _("Raw video demuxer") );
+    set_description( N_("Raw video demuxer") );
     set_capability( "demux", 10 );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_DEMUX );
@@ -182,7 +182,8 @@ static int Open( vlc_object_t * p_this )
     {
         char *psz;
         char *buf;
-        int a, b = 1;
+        int a = 1;
+        int b = 1;
         psz = stream_ReadLine( p_demux->s );
 
         /* TODO: handle interlacing */