From 1e98ef77899e4314c2b3ada2388f9db61e0fd53d Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Thu, 6 Aug 2009 22:58:31 +0200 Subject: Change type names to match upstream libass --- libvo/vo_gl.c | 8 ++++---- libvo/vo_vdpau.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libvo') diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index ceb70ec32e..13ff34cd68 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -289,11 +289,11 @@ static void clearEOSD(void) { static void do_render_osd(int); -static inline int is_tinytex(ass_image_t *i, int tinytexcur) { +static inline int is_tinytex(ASS_Image *i, int tinytexcur) { return i->w < TINYTEX_SIZE && i->h < TINYTEX_SIZE && tinytexcur < TINYTEX_MAX; } -static inline int is_smalltex(ass_image_t *i, int smalltexcur) { +static inline int is_smalltex(ASS_Image *i, int smalltexcur) { return i->w < SMALLTEX_SIZE && i->h < SMALLTEX_SIZE && smalltexcur < SMALLTEX_MAX; } @@ -318,8 +318,8 @@ static void genEOSD(mp_eosd_images_t *imgs) { int smalltexcur = 0; GLuint *curtex; GLint scale_type = scaled_osd ? GL_LINEAR : GL_NEAREST; - ass_image_t *img = imgs->imgs; - ass_image_t *i; + ASS_Image *img = imgs->imgs; + ASS_Image *i; if (imgs->changed == 0) // there are elements, but they are unchanged return; diff --git a/libvo/vo_vdpau.c b/libvo/vo_vdpau.c index 281bfe60e2..486a6e699f 100644 --- a/libvo/vo_vdpau.c +++ b/libvo/vo_vdpau.c @@ -733,8 +733,8 @@ static void generate_eosd(mp_eosd_images_t *imgs) { VdpStatus vdp_st; VdpRect destRect; int j, found; - ass_image_t *img = imgs->imgs; - ass_image_t *i; + ASS_Image *img = imgs->imgs; + ASS_Image *i; // Nothing changed, no need to redraw if (imgs->changed == 0) -- cgit v1.2.3