[MPlayer-cvslog] r26170 - in trunk/libass: ass.h ass_bitmap.h ass_cache.h ass_font.h ass_fontconfig.h ass_mp.h ass_types.h ass_utils.h
diego
subversion at mplayerhq.hu
Wed Mar 5 09:24:09 CET 2008
Author: diego
Date: Wed Mar 5 09:24:09 2008
New Revision: 26170
Log:
Add missing header #includes to fix 'make checkheaders'.
Modified:
trunk/libass/ass.h
trunk/libass/ass_bitmap.h
trunk/libass/ass_cache.h
trunk/libass/ass_font.h
trunk/libass/ass_fontconfig.h
trunk/libass/ass_mp.h
trunk/libass/ass_types.h
trunk/libass/ass_utils.h
Modified: trunk/libass/ass.h
==============================================================================
--- trunk/libass/ass.h (original)
+++ trunk/libass/ass.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,7 @@
#ifndef LIBASS_ASS_H
#define LIBASS_ASS_H
+#include <stdio.h>
#include "ass_types.h"
/// Libass renderer object. Contents are private.
Modified: trunk/libass/ass_bitmap.h
==============================================================================
--- trunk/libass/ass_bitmap.h (original)
+++ trunk/libass/ass_bitmap.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,9 @@
#ifndef LIBASS_BITMAP_H
#define LIBASS_BITMAP_H
+#include <ft2build.h>
+#include FT_GLYPH_H
+
typedef struct ass_synth_priv_s ass_synth_priv_t;
ass_synth_priv_t* ass_synth_init(void);
Modified: trunk/libass/ass_cache.h
==============================================================================
--- trunk/libass/ass_cache.h (original)
+++ trunk/libass/ass_cache.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,10 @@
#ifndef LIBASS_CACHE_H
#define LIBASS_CACHE_H
+#include "ass.h"
+#include "ass_font.h"
+#include "ass_bitmap.h"
+
void ass_font_cache_init(void);
ass_font_t* ass_font_cache_find(ass_font_desc_t* desc);
void* ass_font_cache_add(ass_font_t* font);
Modified: trunk/libass/ass_font.h
==============================================================================
--- trunk/libass/ass_font.h (original)
+++ trunk/libass/ass_font.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,12 @@
#ifndef LIBASS_FONT_H
#define LIBASS_FONT_H
+#include <stdint.h>
+#include <ft2build.h>
+#include FT_GLYPH_H
+#include "ass.h"
+#include "ass_types.h"
+
typedef struct ass_font_desc_s {
char* family;
unsigned bold;
Modified: trunk/libass/ass_fontconfig.h
==============================================================================
--- trunk/libass/ass_fontconfig.h (original)
+++ trunk/libass/ass_fontconfig.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,11 @@
#ifndef LIBASS_FONTCONFIG_H
#define LIBASS_FONTCONFIG_H
+#include <stdint.h>
+#include "ass_types.h"
+#include <ft2build.h>
+#include FT_FREETYPE_H
+
#ifdef HAVE_FONTCONFIG
#include <fontconfig/fontconfig.h>
#endif
Modified: trunk/libass/ass_mp.h
==============================================================================
--- trunk/libass/ass_mp.h (original)
+++ trunk/libass/ass_mp.h Wed Mar 5 09:24:09 2008
@@ -22,6 +22,8 @@
#define LIBASS_MP_H
#include "subreader.h"
+#include "ass_types.h"
+#include "ass.h"
extern ass_library_t* ass_library;
extern int ass_enabled;
Modified: trunk/libass/ass_types.h
==============================================================================
--- trunk/libass/ass_types.h (original)
+++ trunk/libass/ass_types.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,8 @@
#ifndef LIBASS_TYPES_H
#define LIBASS_TYPES_H
+#include <stdint.h>
+
#define VALIGN_SUB 0
#define VALIGN_CENTER 8
#define VALIGN_TOP 4
Modified: trunk/libass/ass_utils.h
==============================================================================
--- trunk/libass/ass_utils.h (original)
+++ trunk/libass/ass_utils.h Wed Mar 5 09:24:09 2008
@@ -21,6 +21,8 @@
#ifndef LIBASS_UTILS_H
#define LIBASS_UTILS_H
+#include <stdint.h>
+
int mystrtoi(char** p, int base, int* res);
int mystrtou32(char** p, int base, uint32_t* res);
int mystrtod(char** p, double* res);
More information about the MPlayer-cvslog
mailing list