mirror of
https://github.com/mpv-player/mpv
synced 2024-11-07 01:47:00 +01:00
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:
parent
1d1ddcb593
commit
5484215d04
10
libvo/sub.h
10
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user