+ if( !p_access->psz_name )
+ {
+ msg_Err( p_access, "no file name specified" );
+ return VLC_EGENERIC;
+ }
+ if( !strcmp( p_access->psz_name, "-" ) )
+ {
+ p_access->p_sys->p_file = stdout;
+ msg_Dbg( p_access, "using stdout" );
+ }
+ else if( !( p_access->p_sys->p_file = fopen( p_access->psz_name, "wb" ) ) )