From 9efce6d4ae26114a23f41f0b3b2d0d9f0281547b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Wei=C3=9Fschuh?= Date: Sat, 18 Feb 2023 19:29:01 +0000 Subject: various: drop unused #include "config.h" Most sources don't need config.h. The inclusion only leads to lots of unneeded recompilation if the configuration is changed. --- video/out/cocoa_common.m | 2 -- video/out/d3d11/hwdec_d3d11va.c | 2 -- video/out/gpu/context.h | 1 - video/out/hwdec/dmabuf_interop.h | 1 - video/out/hwdec/dmabuf_interop_gl.c | 1 - video/out/hwdec/dmabuf_interop_pl.c | 1 - video/out/hwdec/dmabuf_interop_wl.c | 1 - video/out/hwdec/hwdec_cuda_gl.c | 1 - video/out/libmpv_sw.c | 1 - video/out/opengl/hwdec_ios.m | 2 -- video/out/opengl/hwdec_osx.c | 2 -- video/out/vo_gpu.c | 2 -- video/out/vo_image.c | 1 - video/out/vo_lavc.c | 1 - video/out/vo_libmpv.c | 2 -- video/out/vo_sdl.c | 1 - video/out/vo_vaapi.c | 1 - video/out/vo_vdpau.c | 1 - video/out/vo_x11.c | 1 - video/out/vo_xv.c | 2 -- video/out/x11_common.c | 1 - 21 files changed, 28 deletions(-) (limited to 'video/out') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index aa486fb461..222dde4520 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -34,8 +34,6 @@ #include "osdep/macosx_compat.h" #include "osdep/macosx_events_objc.h" -#include "config.h" - #include "osdep/timer.h" #include "osdep/macosx_application.h" #include "osdep/macosx_application_objc.h" diff --git a/video/out/d3d11/hwdec_d3d11va.c b/video/out/d3d11/hwdec_d3d11va.c index 9fc131ef40..1bce9a5cd7 100644 --- a/video/out/d3d11/hwdec_d3d11va.c +++ b/video/out/d3d11/hwdec_d3d11va.c @@ -19,8 +19,6 @@ #include #include -#include "config.h" - #include "common/common.h" #include "options/m_config.h" #include "osdep/windows_utils.h" diff --git a/video/out/gpu/context.h b/video/out/gpu/context.h index 72ad65f470..dae95fa666 100644 --- a/video/out/gpu/context.h +++ b/video/out/gpu/context.h @@ -3,7 +3,6 @@ #include "video/out/vo.h" #include "video/csputils.h" -#include "config.h" #include "ra.h" struct ra_ctx_opts { diff --git a/video/out/hwdec/dmabuf_interop.h b/video/out/hwdec/dmabuf_interop.h index 9c52ad5f75..e9b3e8e8f5 100644 --- a/video/out/hwdec/dmabuf_interop.h +++ b/video/out/hwdec/dmabuf_interop.h @@ -19,7 +19,6 @@ #include -#include "config.h" #include "video/out/gpu/hwdec.h" struct dmabuf_interop { diff --git a/video/out/hwdec/dmabuf_interop_gl.c b/video/out/hwdec/dmabuf_interop_gl.c index f646cabdeb..cd62e960ca 100644 --- a/video/out/hwdec/dmabuf_interop_gl.c +++ b/video/out/hwdec/dmabuf_interop_gl.c @@ -15,7 +15,6 @@ * License along with mpv. If not, see . */ -#include "config.h" #include "dmabuf_interop.h" #include diff --git a/video/out/hwdec/dmabuf_interop_pl.c b/video/out/hwdec/dmabuf_interop_pl.c index 7e1ac05a75..5a2d690291 100644 --- a/video/out/hwdec/dmabuf_interop_pl.c +++ b/video/out/hwdec/dmabuf_interop_pl.c @@ -18,7 +18,6 @@ #include #include -#include "config.h" #include "dmabuf_interop.h" #include "video/out/placebo/ra_pl.h" #include "video/out/placebo/utils.h" diff --git a/video/out/hwdec/dmabuf_interop_wl.c b/video/out/hwdec/dmabuf_interop_wl.c index eede6bb0f2..76f91aaf9a 100644 --- a/video/out/hwdec/dmabuf_interop_wl.c +++ b/video/out/hwdec/dmabuf_interop_wl.c @@ -15,7 +15,6 @@ * License along with mpv. If not, see . */ #include "video/out/wldmabuf/ra_wldmabuf.h" -#include "config.h" #include "dmabuf_interop.h" static bool mapper_init(struct ra_hwdec_mapper *mapper, diff --git a/video/out/hwdec/hwdec_cuda_gl.c b/video/out/hwdec/hwdec_cuda_gl.c index 0e6160da87..88952461e7 100644 --- a/video/out/hwdec/hwdec_cuda_gl.c +++ b/video/out/hwdec/hwdec_cuda_gl.c @@ -17,7 +17,6 @@ * License along with mpv. If not, see . */ -#include "config.h" #include "hwdec_cuda.h" #include "options/m_config.h" #include "video/out/opengl/formats.h" diff --git a/video/out/libmpv_sw.c b/video/out/libmpv_sw.c index 901bd4e663..f1b08f055d 100644 --- a/video/out/libmpv_sw.c +++ b/video/out/libmpv_sw.c @@ -1,4 +1,3 @@ -#include "config.h" #include "libmpv/render_gl.h" #include "libmpv.h" #include "sub/osd.h" diff --git a/video/out/opengl/hwdec_ios.m b/video/out/opengl/hwdec_ios.m index a2ca0310f2..139779f106 100644 --- a/video/out/opengl/hwdec_ios.m +++ b/video/out/opengl/hwdec_ios.m @@ -25,8 +25,6 @@ #include -#include "config.h" - #include "video/out/gpu/hwdec.h" #include "video/mp_image_pool.h" #include "ra_gl.h" diff --git a/video/out/opengl/hwdec_osx.c b/video/out/opengl/hwdec_osx.c index 86e7402267..31d49493bb 100644 --- a/video/out/opengl/hwdec_osx.c +++ b/video/out/opengl/hwdec_osx.c @@ -26,8 +26,6 @@ #include -#include "config.h" - #include "video/mp_image_pool.h" #include "video/out/gpu/hwdec.h" #include "ra_gl.h" diff --git a/video/out/vo_gpu.c b/video/out/vo_gpu.c index db30d83017..b778ab08ca 100644 --- a/video/out/vo_gpu.c +++ b/video/out/vo_gpu.c @@ -26,8 +26,6 @@ #include -#include "config.h" - #include "mpv_talloc.h" #include "common/common.h" #include "misc/bstr.h" diff --git a/video/out/vo_image.c b/video/out/vo_image.c index 15c1a34498..aece3e069b 100644 --- a/video/out/vo_image.c +++ b/video/out/vo_image.c @@ -24,7 +24,6 @@ #include -#include "config.h" #include "misc/bstr.h" #include "osdep/io.h" #include "options/m_config.h" diff --git a/video/out/vo_lavc.c b/video/out/vo_lavc.c index 74f3c40882..74b5477be7 100644 --- a/video/out/vo_lavc.c +++ b/video/out/vo_lavc.c @@ -23,7 +23,6 @@ #include #include -#include "config.h" #include "common/common.h" #include "options/options.h" #include "video/fmt-conversion.h" diff --git a/video/out/vo_libmpv.c b/video/out/vo_libmpv.c index 5325a1d337..88c6804dfe 100644 --- a/video/out/vo_libmpv.c +++ b/video/out/vo_libmpv.c @@ -7,8 +7,6 @@ #include #include -#include "config.h" - #include "mpv_talloc.h" #include "common/common.h" #include "misc/bstr.h" diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index adfcfb43d8..d47f31df11 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -44,7 +44,6 @@ #include "video/mp_image.h" #include "win_state.h" -#include "config.h" #include "vo.h" struct formatmap_entry { diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index 2766640e6c..ad718b3085 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -28,7 +28,6 @@ #include #include -#include "config.h" #include "common/msg.h" #include "video/out/vo.h" #include "video/mp_image_pool.h" diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index da14693092..02668c3621 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -31,7 +31,6 @@ #include #include -#include "config.h" #include "video/vdpau.h" #include "video/vdpau_mixer.h" #include "video/hwdec.h" diff --git a/video/out/vo_x11.c b/video/out/vo_x11.c index d1a689b22e..be0ee85963 100644 --- a/video/out/vo_x11.c +++ b/video/out/vo_x11.c @@ -24,7 +24,6 @@ #include -#include "config.h" #include "vo.h" #include "video/csputils.h" #include "video/mp_image.h" diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index d3257730d7..b83c15ce8b 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -29,8 +29,6 @@ #include -#include "config.h" - #include #include #include diff --git a/video/out/x11_common.c b/video/out/x11_common.c index 40d6b77420..e8054f3b55 100644 --- a/video/out/x11_common.c +++ b/video/out/x11_common.c @@ -39,7 +39,6 @@ #include #include -#include "config.h" #include "misc/bstr.h" #include "options/options.h" #include "options/m_config.h" -- cgit v1.2.3