]> git.sesse.net Git - vlc/blobdiff - modules/access/v4l.c
Fix Memory leak: free proxy_factory even when buffer for asprintf can not be assigned
[vlc] / modules / access / v4l.c
index 32f800e394e668a3f77c0ee115a78de8f187fb59..9709f0070a750903ebe7182c67e804908dfeaa13 100644 (file)
@@ -32,7 +32,7 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_input.h>
 #include <vlc_demux.h>
@@ -143,7 +143,7 @@ static void Close( vlc_object_t * );
 
 static int i_norm_list[] =
     { VIDEO_MODE_AUTO, VIDEO_MODE_SECAM, VIDEO_MODE_PAL, VIDEO_MODE_NTSC };
-static const char *psz_norm_list_text[] =
+static const char *const psz_norm_list_text[] =
     { N_("Automatic"), N_("SECAM"), N_("PAL"),  N_("NTSC") };
 
 vlc_module_begin();