]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/swscale.c
Split Avutil<->VLC chroma conversions functions from avcodec.h so that swscale doesn...
[vlc] / modules / video_filter / swscale.c
index 8c1d879908f50b834257290dc770693cf96c2c11..421c84e05e2909d5e93f458bd62a22d2ae9d7de6 100644 (file)
 
 #ifdef HAVE_LIBSWSCALE_SWSCALE_H
 #   include <libswscale/swscale.h>
-#   include <libavcodec/avcodec.h>
 #elif defined(HAVE_FFMPEG_SWSCALE_H)
 #   include <ffmpeg/swscale.h>
-#   include <ffmpeg/avcodec.h>
 #endif
 
+#include "../codec/avcodec/chroma.h" // Chroma Avutil <-> VLC conversion
+
 /* Gruikkkkkkkkkk!!!!! */
-#include "../codec/avcodec/avcodec.h"
 #undef AVPALETTE_SIZE
-
 #define AVPALETTE_SIZE (256 * sizeof(uint32_t))
 
 /*****************************************************************************