* speex.c: speex decoder/packetizer/encoder module making use of libspeex.
*****************************************************************************
* Copyright (C) 2003 VideoLAN
- * $Id: speex.c,v 1.11 2004/01/29 17:51:07 zorglub Exp $
+ * $Id: speex.c,v 1.12 2004/01/29 19:38:17 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
input_InfoCategory( p_input, _("Speex comment") );
playlist_t *p_playlist = vlc_object_find( p_dec, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
+ playlist_item_t *p_item;
char *p_buf = (char *)p_oggpacket->packet;
SpeexMode *p_mode;
* win32_specific.c: Win32 specific features
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
- * $Id: win32_specific.c,v 1.33 2004/01/29 17:51:08 zorglub Exp $
+ * $Id: win32_specific.c,v 1.34 2004/01/29 19:38:17 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com>
if( pwm_data->lpData )
{
- int i_argc, i_data, i_opt, i_options,i_id,i_pos,j;
+ int i_argc, i_data, i_opt, i_options;
char **ppsz_argv;
char *p_data = (char *)pwm_data->lpData;
{
i_options++;
}
- i_id = playlist_Add( p_playlist, ppsz_argv[ i_opt ],
- ppsz_argv[ i_opt ],
- PLAYLIST_APPEND | (i_opt? 0 : PLAYLIST_GO),
- PLAYLIST_END, -1,
- ppsz_argv[i_opt+1], i_options );
+
+ playlist_AddExt( p_playlist, ppsz_argv[i_opt],ppsz_argv[i_opt],
+ PLAYLIST_APPEND | (i_opt? 0 : PLAYLIST_GO),
+ PLAYLIST_END, -1,
+ (char const **)( i_options ? &ppsz_argv[i_opt+1] : NULL ),
+ i_options );
+
i_opt += i_options;
}