]> git.sesse.net Git - vlc/blobdiff - modules/video_chroma/i420_rgb8.c
Remove useless test before a free.
[vlc] / modules / video_chroma / i420_rgb8.c
index b2e4ac29cebc9671b79feb8006a659865b5dc7d6..1fa07c6606f1b7df4bcc26fe2798d571dcecf253 100644 (file)
@@ -10,7 +10,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#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>