From 5484215d044522bcd30516e458e421f403ca8e35 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Thu, 1 May 2008 20:03:11 +0300 Subject: sub.h: Remove obsolete code under #if 0 According to the comment this was once a way to disable subtitles, but changing the #if 0 to #if 1 couldn't have compiled for years. --- libvo/sub.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libvo') diff --git a/libvo/sub.h b/libvo/sub.h index 89861dcc23..50b55829ad 100644 --- a/libvo/sub.h +++ b/libvo/sub.h @@ -50,14 +50,6 @@ typedef struct mp_osd_obj_s { } mp_osd_obj_t; -#if 0 - -// disable subtitles: -static inline void vo_draw_text_osd(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){ -} - -#else - #include "subreader.h" extern sub_data* subdata; //currently used subtitles @@ -134,6 +126,4 @@ unsigned utf8_get_char(const char **str); void osd_set_nav_box (uint16_t sx, uint16_t sy, uint16_t ex, uint16_t ey); #endif -#endif /* 0 */ - #endif /* MPLAYER_SUB_H */ -- cgit v1.2.3