diff --git a/video/out/opengl/lcms.c b/video/out/opengl/lcms.c index 62ac06de8b..7dc1b63220 100644 --- a/video/out/opengl/lcms.c +++ b/video/out/opengl/lcms.c @@ -28,8 +28,7 @@ #include "common/msg.h" #include "options/m_option.h" #include "options/path.h" - -#include "video.h" +#include "video/csputils.h" #include "lcms.h" #include "osdep/io.h" diff --git a/video/out/opengl/lcms.h b/video/out/opengl/lcms.h index 4e0a18c3d2..373a8b8669 100644 --- a/video/out/opengl/lcms.h +++ b/video/out/opengl/lcms.h @@ -16,7 +16,11 @@ struct mp_icc_opts { int contrast; }; -struct lut3d; +struct lut3d { + uint16_t *data; + int size[3]; +}; + struct mp_log; struct mpv_global; struct gl_lcms; diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index a4a9fb703b..026d18526d 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -35,11 +35,6 @@ #define TEXUNIT_3DLUT (TEXUNIT_SCALERS+SCALER_COUNT) #define TEXUNIT_DITHER (TEXUNIT_3DLUT+1) -struct lut3d { - uint16_t *data; - int size[3]; -}; - struct scaler_fun { char *name; float params[2];