[vlc-devel] [PATCH] cdda: fix build when libcddb not present
Victorien Le Couviour--Tuffet
victorien.lecouviour.tuffet at gmail.com
Mon Jun 3 21:08:43 CEST 2019
---
modules/access/cdda.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/access/cdda.c b/modules/access/cdda.c
index 37675a06fb..afa899769c 100644
--- a/modules/access/cdda.c
+++ b/modules/access/cdda.c
@@ -891,7 +891,9 @@ static int AccessOpen(vlc_object_t *obj, vcddev_t *dev)
}
sys->mbrecord = NULL;
+#ifdef HAVE_LIBCDDB
sys->cddb = NULL;
+#endif
if(var_InheritBool(obj, "metadata-network-access"))
{
--
2.21.0
More information about the vlc-devel
mailing list