]> granicus.if.org Git - libass/commit
Only use application font dir if library->fonts_dir is not NULL.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 23 Jun 2008 14:46:50 +0000 (14:46 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Mon, 23 Jun 2008 14:46:50 +0000 (14:46 +0000)
commitcdefa182a957a050fcaf7ceff3f34b909974c2ea
tree524b731ab2c23555156e0b6a40e0b9681492f7cd
parent3b0c7fbebbae5797500dc5bd3fb2c1285dbcc092
Only use application font dir if library->fonts_dir is not NULL.

This can be the case if ass_set_fonts_dir() call is omitted, results in
segfault. Never happens in the current MPlayer.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27126 b3059339-0415-0410-9bf9-f77b7e298cf2
libass/ass_fontconfig.c