summaryrefslogtreecommitdiffstats
path: root/libass/mputils.h
diff options
context:
space:
mode:
Diffstat (limited to 'libass/mputils.h')
-rw-r--r--libass/mputils.h23
1 files changed, 6 insertions, 17 deletions
diff --git a/libass/mputils.h b/libass/mputils.h
index a68f8a4b..d99167c9 100644
--- a/libass/mputils.h
+++ b/libass/mputils.h
@@ -1,23 +1,6 @@
#ifndef __MPUTILS_H__
#define __MPUTILS_H__
-#include "help_mp.h"
-
-unsigned utf8_get_char(char **str);
-
-void my_mp_msg(int lvl, char *lvl_str, char *fmt, ...);
-
-#ifdef __VISUALC__
-static void mp_msg(int mod, int level, const char *fmt, ...)
-{
- // MSVC doesn't like the # used all around for mp_msg, so it breaks va_arg
-}
-#else
-#define mp_msg(mod, level, args...) my_mp_msg(level, #level, args)
-#endif
-
-#define MSGT_ASS 43
-
#define MSGL_FATAL 0
#define MSGL_ERR 1
#define MSGL_WARN 2
@@ -25,6 +8,12 @@ static void mp_msg(int mod, int level, const char *fmt, ...)
#define MSGL_V 6
#define MSGL_DBG2 7
+#include "help_mp.h"
+
+unsigned utf8_get_char(char **str);
+
+void ass_msg(int lvl, char *fmt, ...);
+
void blur(unsigned char *buffer, unsigned short *tmp2, int width,
int height, int stride, int *m2, int r, int mwidth);