summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 20:03:11 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-05-01 20:03:11 +0300
commit5484215d044522bcd30516e458e421f403ca8e35 (patch)
treef2df8929ac7bbd3c49350938ad8daf26ddd631f7 /libvo
parent1d1ddcb5931150c9cce405f1e39157195749bc00 (diff)
downloadmpv-5484215d044522bcd30516e458e421f403ca8e35.tar.bz2
mpv-5484215d044522bcd30516e458e421f403ca8e35.tar.xz
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.
Diffstat (limited to 'libvo')
-rw-r--r--libvo/sub.h10
1 files changed, 0 insertions, 10 deletions
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 */