1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00

various: remove global.h inclusion where not needed

This commit is contained in:
Kacper Michajłow 2024-10-01 03:09:11 +02:00 committed by sfan5
parent c11239be8c
commit 7202406fe8
19 changed files with 2 additions and 19 deletions

View File

@ -33,7 +33,6 @@
#include "audio/fmt-conversion.h"
#include "common/av_common.h"
#include "common/codecs.h"
#include "common/global.h"
#include "common/msg.h"
#include "demux/packet.h"
#include "demux/stheader.h"

View File

@ -27,7 +27,6 @@
#include "libmpv/client.h"
#include "common/common.h"
#include "common/global.h"
#include "common/msg_control.h"
#include "common/msg.h"
#include "m_config_frontend.h"

View File

@ -23,7 +23,6 @@
#include <stdint.h>
#include "common/common.h"
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "m_config_core.h"

View File

@ -23,7 +23,6 @@
#include <stdbool.h>
#include "osdep/io.h"
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "m_option.h"

View File

@ -26,7 +26,6 @@
#include "common/global.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "common/global.h"
#include "input/input.h"
#include "input/cmd.h"
#include "misc/ctype.h"

View File

@ -34,7 +34,6 @@
#include "osdep/io.h"
#include "common/global.h"
#include "common/encode.h"
#include "common/msg.h"
#include "misc/ctype.h"

View File

@ -34,7 +34,6 @@
#include "client.h"
#include "common/msg.h"
#include "common/msg_control.h"
#include "common/global.h"
#include "options/path.h"
#include "options/m_config.h"
#include "options/parse_configfile.h"

View File

@ -32,7 +32,6 @@
#include "options/m_property.h"
#include "options/m_config.h"
#include "common/common.h"
#include "common/global.h"
#include "common/encode.h"
#include "common/playlist.h"
#include "input/input.h"

View File

@ -21,7 +21,6 @@
#include <libavcodec/avcodec.h>
#include "common/global.h"
#include "osdep/io.h"
#include "mpv_talloc.h"

View File

@ -26,7 +26,6 @@
#include "common/msg.h"
#include "options/options.h"
#include "common/common.h"
#include "common/global.h"
#include "stream/stream.h"
#include "sub/dec_sub.h"

View File

@ -8,7 +8,6 @@
#include "common/common.h"
#include "common/msg.h"
#include "common/global.h"
#include "stream.h"
#include "options/m_option.h"
#include "options/path.h"

View File

@ -29,7 +29,6 @@
#include <ass/ass_types.h>
#include "common/common.h"
#include "common/global.h"
#include "common/msg.h"
#include "options/path.h"
#include "ass_mp.h"

View File

@ -3,7 +3,6 @@
#include <libavutil/pixfmt.h>
#include "common/common.h"
#include "common/global.h"
#include "img_utils.h"
#include "sub/draw_bmp.h"
#include "sub/osd.h"

View File

@ -30,7 +30,6 @@
#include <libavutil/pixdesc.h>
#include "mpv_talloc.h"
#include "common/global.h"
#include "common/msg.h"
#include "options/m_config.h"
#include "options/options.h"

View File

@ -18,7 +18,8 @@
#pragma once
#include "common/common.h"
#include "common/global.h"
struct mpv_global;
struct offscreen_ctx {
struct mp_log *log;

View File

@ -30,7 +30,6 @@
#include "misc/bstr.h"
#include "options/m_config.h"
#include "options/path.h"
#include "common/global.h"
#include "options/options.h"
#include "utils.h"
#include "hwdec.h"

View File

@ -1,6 +1,5 @@
#pragma once
#include "common/global.h"
#include "video/out/gpu/context.h"
#include "common.h"

View File

@ -24,7 +24,6 @@
#include <va/va_drmcommon.h>
#endif
#include "common/global.h"
#include "gpu/hwdec.h"
#include "gpu/video.h"
#include "mpv_talloc.h"

View File

@ -30,7 +30,6 @@
#include "common/common.h"
#include "misc/bstr.h"
#include "common/msg.h"
#include "common/global.h"
#include "options/m_config.h"
#include "vo.h"
#include "video/mp_image.h"