[vlc-devel] [PATCH] Fix build with libbluray < 0.6.0
Petri Hintukainen
phintuka at gmail.com
Sun Sep 27 15:28:30 CEST 2015
---
modules/access/bluray.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/bluray.c b/modules/access/bluray.c
index 954df8c..cf9089e 100644
--- a/modules/access/bluray.c
+++ b/modules/access/bluray.c
@@ -1800,6 +1800,7 @@ static void blurayHandleEvent(demux_t *p_demux, const BD_EVENT *e)
static bool blurayIsBdjTitle(demux_t *p_demux)
{
+#if BLURAY_VERSION >= BLURAY_VERSION_CODE(0,6,0)
demux_sys_t *p_sys = p_demux->p_sys;
unsigned int i_title = p_demux->info.i_title;
const BLURAY_DISC_INFO *di = bd_get_disc_info(p_sys->bluray);
@@ -1810,6 +1811,7 @@ static bool blurayIsBdjTitle(demux_t *p_demux)
return true;
}
}
+#endif
return false;
}
--
2.1.4
More information about the vlc-devel
mailing list