[vlc-commits] freetype: Prevent creating font with NULL path
Marvin Scholz
git at videolan.org
Mon Jun 19 14:33:21 CEST 2017
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Jun 17 17:04:17 2017 +0200| [73bbea4c83230e1bee1e3f98b4f1a65d6968e0c3] | committer: Marvin Scholz
freetype: Prevent creating font with NULL path
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73bbea4c83230e1bee1e3f98b4f1a65d6968e0c3
---
modules/text_renderer/freetype/fonts/darwin.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/text_renderer/freetype/fonts/darwin.c b/modules/text_renderer/freetype/fonts/darwin.c
index c23ac8a388..06dec792da 100644
--- a/modules/text_renderer/freetype/fonts/darwin.c
+++ b/modules/text_renderer/freetype/fonts/darwin.c
@@ -177,6 +177,8 @@ const vlc_family_t *CoreText_GetFamily(filter_t *p_filter, const char *psz_famil
FREENULL(path);
continue;
}
+ } else {
+ continue;
}
addNewFontToFamily(p_filter, iter, path, p_family);
More information about the vlc-commits
mailing list