summaryrefslogtreecommitdiffstats
path: root/libass/ass_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_font.c')
-rw-r--r--libass/ass_font.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libass/ass_font.c b/libass/ass_font.c
index 5778935d6b..c89931bda0 100644
--- a/libass/ass_font.c
+++ b/libass/ass_font.c
@@ -30,8 +30,6 @@
#include "ass_fontconfig.h"
#include "mputils.h"
-extern int no_more_font_messages;
-
/**
* Select Microfost Unicode CharMap, if the font has one.
* Otherwise, let FreeType decide.
@@ -61,9 +59,7 @@ int ass_font_init(FT_Library ftlibrary, void* fc_priv, ass_font_t* font, ass_fon
error = FT_New_Face(ftlibrary, path, index, &face);
if (error) {
- if (!no_more_font_messages)
- mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_ErrorOpeningFont, path, index);
- no_more_font_messages = 1;
+ mp_msg(MSGT_ASS, MSGL_WARN, MSGTR_LIBASS_ErrorOpeningFont, path, index);
return 1;
}