Commit 43ef6e10 authored by Gildas Bazin's avatar Gildas Bazin

* modules/codec/speex.c, src/misc/win32_specific.c: compilation fixes.
parent 2d9249bb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* speex.c: speex decoder/packetizer/encoder module making use of libspeex. * speex.c: speex decoder/packetizer/encoder module making use of libspeex.
***************************************************************************** *****************************************************************************
* Copyright (C) 2003 VideoLAN * 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> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -464,6 +464,7 @@ static void ParseSpeexComments( decoder_t *p_dec, ogg_packet *p_oggpacket ) ...@@ -464,6 +464,7 @@ static void ParseSpeexComments( decoder_t *p_dec, ogg_packet *p_oggpacket )
input_InfoCategory( p_input, _("Speex comment") ); input_InfoCategory( p_input, _("Speex comment") );
playlist_t *p_playlist = vlc_object_find( p_dec, VLC_OBJECT_PLAYLIST, playlist_t *p_playlist = vlc_object_find( p_dec, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE ); FIND_ANYWHERE );
playlist_item_t *p_item;
char *p_buf = (char *)p_oggpacket->packet; char *p_buf = (char *)p_oggpacket->packet;
SpeexMode *p_mode; SpeexMode *p_mode;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* win32_specific.c: Win32 specific features * win32_specific.c: Win32 specific features
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 VideoLAN * 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> * Authors: Samuel Hocevar <sam@zoy.org>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@netcourrier.com>
...@@ -297,7 +297,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam, ...@@ -297,7 +297,7 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
if( pwm_data->lpData ) 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 **ppsz_argv;
char *p_data = (char *)pwm_data->lpData; char *p_data = (char *)pwm_data->lpData;
...@@ -321,11 +321,13 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam, ...@@ -321,11 +321,13 @@ LRESULT CALLBACK WMCOPYWNDPROC( HWND hwnd, UINT uMsg, WPARAM wParam,
{ {
i_options++; i_options++;
} }
i_id = playlist_Add( p_playlist, ppsz_argv[ i_opt ],
ppsz_argv[ i_opt ], playlist_AddExt( p_playlist, ppsz_argv[i_opt],ppsz_argv[i_opt],
PLAYLIST_APPEND | (i_opt? 0 : PLAYLIST_GO), PLAYLIST_APPEND | (i_opt? 0 : PLAYLIST_GO),
PLAYLIST_END, -1, PLAYLIST_END, -1,
ppsz_argv[i_opt+1], i_options ); (char const **)( i_options ? &ppsz_argv[i_opt+1] : NULL ),
i_options );
i_opt += i_options; i_opt += i_options;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment