Mercurial > mplayer.hg
diff mencoder.c @ 19519:1dc1c55328e2
Fix MEncoder build when bitmap fonts are disabled.
author | diego |
---|---|
date | Thu, 24 Aug 2006 16:25:56 +0000 |
parents | 5d6f4f9b6727 |
children | 02a18c52a42a |
line wrap: on
line diff
--- a/mencoder.c Thu Aug 24 15:38:28 2006 +0000 +++ b/mencoder.c Thu Aug 24 16:25:56 2006 +0000 @@ -534,6 +534,7 @@ if(!font_fontconfig) { #endif +#ifdef HAVE_BITMAP_FONT if(font_name){ vo_font=read_font_desc(font_name,font_factor,verbose>1); if(!vo_font) mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantLoadFont,font_name); @@ -543,6 +544,7 @@ if(!vo_font) vo_font=read_font_desc(MPLAYER_DATADIR "/font/font.desc",font_factor,verbose>1); } +#endif #ifdef HAVE_FONTCONFIG } #endif