Commit bcee2c56 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix potential Freetype crash

Close #5648
(cherry picked from commit e58a689e830f183b649f0ce1908407f8c4636e61)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent dd497b41
...@@ -625,7 +625,7 @@ static char* Win32_Select( filter_t *p_filter, const char* family, ...@@ -625,7 +625,7 @@ static char* Win32_Select( filter_t *p_filter, const char* family,
{ {
VLC_UNUSED( i_size ); VLC_UNUSED( i_size );
if( strlen( family ) < 1 ) if( !family || strlen( family ) < 1 )
goto fail; goto fail;
/* */ /* */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment