[MPlayer-dev-eng] [PATCH] Move declarations of vo_font, sub_font to correct header file

Diego Biurrun diego at biurrun.de
Mon Jun 16 10:23:46 CEST 2008


On Mon, Jun 16, 2008 at 02:36:56AM +0000, Bryan Henderson wrote:
> The global variables vo_font and sub_font are defined in libvo/sub.c,
> but declared in libvo/font_load.h.  They aren't even used by the font
> loader code.
> 
> This patch moves the declarations to libvo/sub.h.

> --- libvo/sub.h	(revision 27074)
> +++ libvo/sub.h	(working copy)
> @@ -50,6 +75,9 @@
>  
> +extern struct font_desc* vo_font;
> +extern struct font_desc* sub_font;

This will likely break 'make checkheaders', the declaration of struct
font_desc is not available in sub.h.

Diego



More information about the MPlayer-dev-eng mailing list