]> git.sesse.net Git - vlc/blobdiff - modules/video_chroma/i420_rgb.c
access_file: fix a vlc warning
[vlc] / modules / video_chroma / i420_rgb.c
index e92035040913fa7531a1f4b4363e431fe8fb70ad..b08824b66f879ca0a7142f59c7f02d55a2fc384b 100644 (file)
  * Preamble
  *****************************************************************************/
 #include <math.h>                                            /* exp(), pow() */
-#include <string.h>                                            /* strerror() */
-#include <stdlib.h>                                      /* malloc(), free() */
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
@@ -430,9 +432,9 @@ static void Set8bppPalette( vout_thread_t *p_vout, uint8_t *p_rgb8 )
                     p_cmap_b[ j ] = CLIP( b );
 
 #if 0
-                   printf("+++Alloc RGB cmap %d (%d, %d, %d)\n", j,
-                          p_cmap_r[ j ] >>8, p_cmap_g[ j ] >>8, 
-                          p_cmap_b[ j ] >>8);
+            printf("+++Alloc RGB cmap %d (%d, %d, %d)\n", j,
+               p_cmap_r[ j ] >>8, p_cmap_g[ j ] >>8,
+               p_cmap_b[ j ] >>8);
 #endif
 
                     /* Allocate color */