add_bool( "audiofile-wav", true, NULL, WAV_TEXT, WAV_LONGTEXT, true )
set_capability( "audio output", 0 )
- add_shortcut( "file" )
- add_shortcut( "audiofile" )
+ add_shortcut( "file", "audiofile" )
set_callbacks( Open, Close )
vlc_module_end ()
if( !strcmp( psz_name, "-" ) )
p_aout->output.p_sys->p_file = stdout;
else
- p_aout->output.p_sys->p_file = utf8_fopen( psz_name, "wb" );
+ p_aout->output.p_sys->p_file = vlc_fopen( psz_name, "wb" );
free( psz_name );
if ( p_aout->output.p_sys->p_file == NULL )
/* Write wave header */
WAVEHEADER *wh = &p_aout->output.p_sys->waveh;
- memset( wh, 0, sizeof(wh) );
+ memset( wh, 0, sizeof(*wh) );
switch( p_aout->output.output.i_format )
{