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, 1 insertions, 1 deletions
diff --git a/mpvcore/player/sub.c b/mpvcore/player/sub.c
index d85abcc2c4..94368435d1 100644
--- a/mpvcore/player/sub.c
+++ b/mpvcore/player/sub.c
@@ -129,7 +129,7 @@ void update_subtitles(struct MPContext *mpctx)
static void set_dvdsub_fake_extradata(struct dec_sub *dec_sub, struct stream *st,
int width, int height)
{
-#ifdef CONFIG_DVDREAD
+#if HAVE_DVDREAD
if (!st)
return;