summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/sub.c')
-rw-r--r--mpvcore/player/sub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mpvcore/player/sub.c b/mpvcore/player/sub.c
index 2c6ec1dfc5..d3ce466121 100644
--- a/mpvcore/player/sub.c
+++ b/mpvcore/player/sub.c
@@ -133,7 +133,6 @@ void update_subtitles(struct MPContext *mpctx)
static void set_dvdsub_fake_extradata(struct dec_sub *dec_sub, struct stream *st,
int width, int height)
{
-#if HAVE_DVDREAD
if (!st)
return;
@@ -169,7 +168,6 @@ static void set_dvdsub_fake_extradata(struct dec_sub *dec_sub, struct stream *st
sub_set_extradata(dec_sub, s, strlen(s));
talloc_free(s);
-#endif
}
void reinit_subs(struct MPContext *mpctx)