summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-06 16:20:19 +0100
committerwm4 <wm4@nowhere>2013-01-06 16:22:50 +0100
commit67ee79283b5e3f1fb9e0bdad96922b0bd431b365 (patch)
tree9654d8b737ea33042d2edf0e42471b5d899f26d4
parent5b56864ff0d6222f8e3782fed711f7fd2a636fec (diff)
downloadmpv-67ee79283b5e3f1fb9e0bdad96922b0bd431b365.tar.bz2
mpv-67ee79283b5e3f1fb9e0bdad96922b0bd431b365.tar.xz
cleanup: ass_mp.h: remove dummy declarations
-rw-r--r--sub/ass_mp.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/sub/ass_mp.h b/sub/ass_mp.h
index e0a5917fa4..0f67b17fe1 100644
--- a/sub/ass_mp.h
+++ b/sub/ass_mp.h
@@ -63,19 +63,5 @@ struct sub_bitmaps;
void mp_ass_render_frame(ASS_Renderer *renderer, ASS_Track *track, double time,
struct sub_bitmap **parts, struct sub_bitmaps *res);
-#else /* CONFIG_ASS */
-
-/* Needed for OSD code using this type to compile */
-
-typedef struct ass_image {
- int w, h;
- int stride;
- unsigned char *bitmap;
- uint32_t color;
- int dst_x, dst_y;
- struct ass_image *next;
-} ASS_Image;
-
-#endif
-
+#endif /* CONFIG_ASS */
#endif /* MPLAYER_ASS_MP_H */