mirror of https://github.com/mpv-player/mpv
various: remove global.h inclusion where not needed
This commit is contained in:
parent
c11239be8c
commit
7202406fe8
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include "osdep/io.h"
|
||||
|
||||
#include "common/global.h"
|
||||
#include "common/encode.h"
|
||||
#include "common/msg.h"
|
||||
#include "misc/ctype.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
||||
#include "common/global.h"
|
||||
#include "osdep/io.h"
|
||||
|
||||
#include "mpv_talloc.h"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
#pragma once
|
||||
|
||||
#include "common/common.h"
|
||||
#include "common/global.h"
|
||||
|
||||
struct mpv_global;
|
||||
|
||||
struct offscreen_ctx {
|
||||
struct mp_log *log;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include "common/global.h"
|
||||
#include "video/out/gpu/context.h"
|
||||
#include "common.h"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue