-
- /* Update default_pts to a suitable value for file access */
- var_Create( p_access, "file-caching", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
-
- /*
- * Get the additional list of files
- */
- p_file = malloc( sizeof(file_entry_t) );
- p_file->i_size = p_access->info.i_size;
- p_file->psz_name = psz_name;
- TAB_APPEND( p_sys->i_file, p_sys->file, p_file );
-
- psz = var_CreateGetString( p_access, "file-cat" );
- if( *psz )
- {
- char *psz_parser = psz_name = psz;
- int64_t i_size;
-
- while( psz_name && *psz_name )
- {
- psz_parser = strchr( psz_name, ',' );
- if( psz_parser ) *psz_parser = 0;
-
- psz_name = strdup( psz_name );
- if( psz_name )
- {
- msg_Dbg( p_access, "adding file `%s'", psz_name );
- i_size = 0;