mirror of https://github.com/mpv-player/mpv
f63dbaddb6
Calling FcFontMatch with last argument NULL triggers an assertion failure in latest libfontconfig (2.9.0). Change the code to use a dummy address, like another nearby call to FcFontMatch already did. Whether the code triggering the assertion failure was run depended on font settings and/or available system fonts (the code looks like you'd have to get a non-scalable font first). Thus it didn't usually happen even with problematic libfontconfig version. |
||
---|---|---|
.. | ||
ass_mp.c | ||
ass_mp.h | ||
av_sub.c | ||
av_sub.h | ||
dec_sub.c | ||
dec_sub.h | ||
find_sub.c | ||
find_subfiles.c | ||
find_subfiles.h | ||
font_load.c | ||
font_load.h | ||
font_load_ft.c | ||
osd_font.h | ||
sd.h | ||
sd_ass.c | ||
spudec.c | ||
spudec.h | ||
sub.c | ||
sub.h | ||
sub_cc.c | ||
sub_cc.h | ||
subassconvert.c | ||
subassconvert.h | ||
subreader.c | ||
subreader.h | ||
unrar_exec.c | ||
unrar_exec.h | ||
vobsub.c | ||
vobsub.h |