[MPlayer-dev-eng] [PATCH] Fixes sig11 when trying to render OSD with no font available

Nikita Shulga malfet at jscc.ru
Sun Jul 11 07:31:59 CEST 2004


Hi, all!
I installed new system recently, and build mplayer from CVS.
I tried to play several subbed films, and noticed then it crashes when 
subtitle should be displayed.
I looked into libvo/sub.c into vo_update_text_sub: 
vo_font->pic_a[vo_font->font[40]]->h
When no font files can be found vo_font->font[40] always -1.
Patch attached to this letter fixes this problem and prevents mplayer 
from crashing
Best,
	Nikita
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sub.c.diff
Type: application/octet-stream
Size: 651 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040711/c262c98e/attachment.obj>


More information about the MPlayer-dev-eng mailing list