mirror of https://github.com/mpv-player/mpv
ass_mp.h: remove conditional inclusion guards
This file is only used when libass is enabled. (It used to be different, when code was more entangled.)
This commit is contained in:
parent
1c3bbd9318
commit
ea098d3462
|
@ -23,7 +23,8 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "config.h"
|
||||
#include <ass/ass.h>
|
||||
#include <ass/ass_types.h>
|
||||
|
||||
// This is probably arbitrary.
|
||||
// sd_lavc_conv might indirectly still assume this PlayResY, though.
|
||||
|
@ -35,10 +36,6 @@
|
|||
// m_color argument
|
||||
#define MP_ASS_COLOR(c) MP_ASS_RGBA((c).r, (c).g, (c).b, (c).a)
|
||||
|
||||
#if HAVE_LIBASS
|
||||
#include <ass/ass.h>
|
||||
#include <ass/ass_types.h>
|
||||
|
||||
struct MPOpts;
|
||||
struct mpv_global;
|
||||
struct mp_osd_res;
|
||||
|
@ -57,5 +54,4 @@ struct sub_bitmaps;
|
|||
void mp_ass_render_frame(ASS_Renderer *renderer, ASS_Track *track, double time,
|
||||
struct sub_bitmaps *res);
|
||||
|
||||
#endif /* HAVE_LIBASS */
|
||||
#endif /* MPLAYER_ASS_MP_H */
|
||||
|
|
Loading…
Reference in New Issue