From 657524ff32a87f213131113738be4c6863a33778 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 26 Oct 2009 22:20:22 +0100 Subject: [PATCH] CDDA: cosmetics and copyright --- modules/access/cdda.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/access/cdda.c b/modules/access/cdda.c index 7527b5684a..3c233fc0f2 100644 --- a/modules/access/cdda.c +++ b/modules/access/cdda.c @@ -1,7 +1,7 @@ /***************************************************************************** * cdda.c : CD digital audio input module for vlc ***************************************************************************** - * Copyright (C) 2000, 2003 the VideoLAN team + * Copyright (C) 2000, 2003-2006, 2008-2009 the VideoLAN team * $Id$ * * Authors: Laurent Aimar @@ -83,12 +83,14 @@ vlc_module_begin () add_integer( "cdda-last-sector", -1, NULL, NULL, NULL, true ) change_internal () +#ifdef HAVE_LIBCDDB add_string( "cddb-server", "freedb.freedb.org", NULL, N_( "CDDB Server" ), N_( "Address of the CDDB server to use." ), true ) add_integer( "cddb-port", 8880, NULL, - N_( "CDDB port" ), N_( "CDDB Server port to use." ), - true ) + N_( "CDDB port" ), N_( "CDDB Server port to use." ), true ) +#endif + add_shortcut( "cdda" ) add_shortcut( "cddasimple" ) vlc_module_end () @@ -630,7 +632,7 @@ static cddb_disc_t *GetCDDBInfo( access_t *p_access, int i_titles, int *p_sector cddb_set_timeout( p_cddb, 10 ); /// \todo - cddb_http_disable( p_cddb); + cddb_http_disable( p_cddb ); /* */ cddb_disc_t *p_disc = cddb_disc_new(); -- 2.39.2