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.
This commit is contained in:
1 parent
1d1ddcb593
commit
5484215d04
1 file changed
-10
-10
@@ -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 */
|
||||
Reference in new issue
Block a user