Commit 488790df authored by Rocky Bernstein's avatar Rocky Bernstein

Use cd-audio variable not vcd variable.

parent 3ada93ee
/***************************************************************************** /*****************************************************************************
* cdda.c : CD digital audio input module for vlc * cdda.c : CD digital audio input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000, 2003 VideoLAN
* $Id: cdda.c,v 1.9 2003/11/29 16:29:24 gbazin Exp $ * $Id: cdda.c,v 1.10 2003/12/11 05:30:11 rocky Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -125,12 +125,13 @@ static int AccessOpen( vlc_object_t *p_this ) ...@@ -125,12 +125,13 @@ static int AccessOpen( vlc_object_t *p_this )
if( !*psz_source ) if( !*psz_source )
{ {
/* No source specified, so figure it out. */
if( !p_input->psz_access ) if( !p_input->psz_access )
{ {
free( psz_orig ); free( psz_orig );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
psz_source = config_GetPsz( p_input, "vcd" ); psz_source = config_GetPsz( p_input, "cd-audio" );
if( !psz_source ) return -1; if( !psz_source ) return -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment