/*****************************************************************************
* file.c: file input (file: access plug-in)
*****************************************************************************
- * Copyright (C) 2001-2004 VideoLAN
+ * Copyright (C) 2001-2004 the VideoLAN team
* $Id$
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
p_sys->file = NULL;
p_sys->i_file = 0;
p_sys->i_index = 0;
+#ifndef UNDER_CE
p_sys->fd = -1;
+#endif
if( !strcasecmp( p_access->psz_access, "stream" ) )
{
case ACCESS_SET_TITLE:
case ACCESS_SET_SEEKPOINT:
case ACCESS_SET_PRIVATE_ID_STATE:
+ case ACCESS_GET_META:
return VLC_EGENERIC;
default:
p_sys->fd = fopen( psz_name, "rb" );
if ( !p_sys->fd )
{
- msg_Err( p_access, "cannot open file %s" );
+ msg_Err( p_access, "cannot open file %s", psz_name );
return VLC_EGENERIC;
}