Commit 3e78ed5d authored by Laurent Aimar's avatar Laurent Aimar

* all: compilation warning fixes (mainly missings headers).

parent eb0af115
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* rawvideo.c: Pseudo video decoder/packetizer for raw video data * rawvideo.c: Pseudo video decoder/packetizer for raw video data
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: rawvideo.c,v 1.11 2004/01/07 19:20:29 gbazin Exp $ * $Id: rawvideo.c,v 1.12 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*****************************************************************************/ *****************************************************************************/
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc/decoder.h> #include <vlc/decoder.h>
#include <vlc/vout.h>
/***************************************************************************** /*****************************************************************************
* decoder_sys_t : raw video decoder descriptor * decoder_sys_t : raw video decoder descriptor
......
...@@ -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.12 2004/01/29 19:38:17 gbazin Exp $ * $Id: speex.c,v 1.13 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*****************************************************************************/ *****************************************************************************/
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc/decoder.h> #include <vlc/decoder.h>
#include <vlc/input.h>
#include "vlc_playlist.h" #include "vlc_playlist.h"
#include <ogg/ogg.h> #include <ogg/ogg.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vorbis.c: vorbis decoder/encoder/packetizer module making use of libvorbis. * vorbis.c: vorbis decoder/encoder/packetizer module making use of libvorbis.
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2003 VideoLAN * Copyright (C) 2001-2003 VideoLAN
* $Id: vorbis.c,v 1.31 2004/01/29 17:51:07 zorglub Exp $ * $Id: vorbis.c,v 1.32 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* *
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
*****************************************************************************/ *****************************************************************************/
#include <vlc/vlc.h> #include <vlc/vlc.h>
#include <vlc/decoder.h> #include <vlc/decoder.h>
#include <vlc/input.h>
#include "vlc_playlist.h" #include "vlc_playlist.h"
#include <ogg/ogg.h> #include <ogg/ogg.h>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ncurses.c : NCurses plugin for vlc * ncurses.c : NCurses plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 VideoLAN * Copyright (C) 2001-2004 VideoLAN
* $Id: ncurses.c,v 1.14 2004/01/25 03:29:02 hartman Exp $ * $Id: ncurses.c,v 1.15 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Sam Hocevar <sam@zoy.org> * Authors: Sam Hocevar <sam@zoy.org>
* Laurent Aimar <fenrir@via.ecp.fr> * Laurent Aimar <fenrir@via.ecp.fr>
...@@ -497,7 +497,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key ) ...@@ -497,7 +497,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
var_Set( p_sys->p_input, "prev-title", val ); var_Set( p_sys->p_input, "prev-title", val );
} }
break; return 1;
case ']': case ']':
if( p_sys->p_input ) if( p_sys->p_input )
...@@ -505,7 +505,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key ) ...@@ -505,7 +505,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
var_Set( p_sys->p_input, "next-title", val ); var_Set( p_sys->p_input, "next-title", val );
} }
break; return 1;
case '<': case '<':
if( p_sys->p_input ) if( p_sys->p_input )
...@@ -513,7 +513,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key ) ...@@ -513,7 +513,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
var_Set( p_sys->p_input, "prev-chapter", val ); var_Set( p_sys->p_input, "prev-chapter", val );
} }
break; return 1;
case '>': case '>':
if( p_sys->p_input ) if( p_sys->p_input )
...@@ -521,7 +521,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key ) ...@@ -521,7 +521,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
var_Set( p_sys->p_input, "next-chapter", val ); var_Set( p_sys->p_input, "next-chapter", val );
} }
break; return 1;
case 'p': case 'p':
if( p_intf->p_sys->p_playlist ) if( p_intf->p_sys->p_playlist )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* ts.c: MPEG-II TS Muxer * ts.c: MPEG-II TS Muxer
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: ts.c,v 1.44 2004/02/17 13:13:31 gbazin Exp $ * $Id: ts.c,v 1.45 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -396,7 +396,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -396,7 +396,7 @@ static int Open( vlc_object_t *p_this )
ck[0] = val[8]; ck[0] = val[8];
val[8] = 0; val[8] = 0;
i_ck = strtol( val, NULL, 16 ) << 32; i_ck = ((int64_t)strtol( val, NULL, 16 )) << 32;
val[8] = ck[0]; val[8] = ck[0];
i_ck += strtol( &val[8], NULL, 16 ); i_ck += strtol( &val[8], NULL, 16 );
for( i = 0; i < 8; i++ ) for( i = 0; i < 8; i++ )
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* filter_common.h: Common filter functions * filter_common.h: Common filter functions
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002, 2003 VideoLAN * Copyright (C) 2001, 2002, 2003 VideoLAN
* $Id: filter_common.h,v 1.5 2003/10/26 12:46:55 sigmunau Exp $ * $Id: filter_common.h,v 1.6 2004/02/22 15:57:41 fenrir Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
} \ } \
\ \
/* Allocate the picture */ \ /* Allocate the picture */ \
vout_AllocatePicture( p_vout, p_pic, p_vout->output.i_chroma, \ vout_AllocatePicture( VLC_OBJECT(p_vout), p_pic, p_vout->output.i_chroma, \
p_vout->output.i_width, \ p_vout->output.i_width, \
p_vout->output.i_height, \ p_vout->output.i_height, \
p_vout->output.i_aspect ); \ p_vout->output.i_aspect ); \
......
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