]> git.sesse.net Git - vlc/commitdiff
* all: compilation warning fixes (mainly missings headers).
authorLaurent Aimar <fenrir@videolan.org>
Sun, 22 Feb 2004 15:57:41 +0000 (15:57 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 22 Feb 2004 15:57:41 +0000 (15:57 +0000)
modules/codec/rawvideo.c
modules/codec/speex.c
modules/codec/vorbis.c
modules/gui/ncurses/ncurses.c
modules/mux/mpeg/ts.c
modules/video_filter/filter_common.h

index 857a44ff7d1941ca6d84be91b1aabcb466a6fbb8..8e1cd74d552da305443f8f159b4e3367ebdfac57 100644 (file)
@@ -2,7 +2,7 @@
  * rawvideo.c: Pseudo video decoder/packetizer for raw video data
  *****************************************************************************
  * 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>
  *
@@ -26,6 +26,7 @@
  *****************************************************************************/
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
+#include <vlc/vout.h>
 
 /*****************************************************************************
  * decoder_sys_t : raw video decoder descriptor
index 639c84d1308bb364f0e2b774c49778626c365092..1a6dffb6e6833b39014fa1259fc7658041f9a6fc 100755 (executable)
@@ -2,7 +2,7 @@
  * speex.c: speex decoder/packetizer/encoder module making use of libspeex.
  *****************************************************************************
  * 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>
  *
@@ -26,6 +26,7 @@
  *****************************************************************************/
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
+#include <vlc/input.h>
 #include "vlc_playlist.h"
 
 #include <ogg/ogg.h>
index 534ea387dadaa7a0e84ec4996fc00e06ee626c2a..694085a2b1d4d39dc37cb40ada5615ca8e21701b 100644 (file)
@@ -2,7 +2,7 @@
  * vorbis.c: vorbis decoder/encoder/packetizer module making use of libvorbis.
  *****************************************************************************
  * 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>
  *
@@ -26,6 +26,7 @@
  *****************************************************************************/
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
+#include <vlc/input.h>
 #include "vlc_playlist.h"
 
 #include <ogg/ogg.h>
index 686d435ce0d4c3243dec18631a99884a90ff2223..d7c4fdcf6ffb727f6234d11ce8f79cd98eb9f4c0 100644 (file)
@@ -2,7 +2,7 @@
  * ncurses.c : NCurses plugin for vlc
  *****************************************************************************
  * 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>
  *          Laurent Aimar <fenrir@via.ecp.fr>
@@ -497,7 +497,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 val.b_bool = VLC_TRUE;
                 var_Set( p_sys->p_input, "prev-title", val );
             }
-            break;
+            return 1;
 
         case ']':
             if( p_sys->p_input )
@@ -505,7 +505,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 val.b_bool = VLC_TRUE;
                 var_Set( p_sys->p_input, "next-title", val );
             }
-            break;
+            return 1;
 
         case '<':
             if( p_sys->p_input )
@@ -513,7 +513,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 val.b_bool = VLC_TRUE;
                 var_Set( p_sys->p_input, "prev-chapter", val );
             }
-            break;
+            return 1;
 
         case '>':
             if( p_sys->p_input )
@@ -521,7 +521,7 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
                 val.b_bool = VLC_TRUE;
                 var_Set( p_sys->p_input, "next-chapter", val );
             }
-            break;
+            return 1;
 
         case 'p':
             if( p_intf->p_sys->p_playlist )
index da65c8dd084ae31183168c6a6d9363415b1d2368..7487dc7ba422fc24e20aadda9c8895ce5ce914c2 100644 (file)
@@ -2,7 +2,7 @@
  * ts.c: MPEG-II TS Muxer
  *****************************************************************************
  * 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>
  *          Eric Petit <titer@videolan.org>
@@ -396,7 +396,7 @@ static int Open( vlc_object_t *p_this )
 
             ck[0] = val[8];
             val[8] = 0;
-            i_ck = strtol( val, NULL, 16 ) << 32;
+            i_ck = ((int64_t)strtol( val, NULL, 16 )) << 32;
             val[8] = ck[0];
             i_ck += strtol( &val[8], NULL, 16 );
             for( i = 0; i < 8; i++ )
index e0f00d3c883dc285820045671c5a0a84832cc852..5ea1c8d97e55927f3595caf6053e5eed9d75f345 100644 (file)
@@ -2,7 +2,7 @@
  * filter_common.h: Common filter functions
  *****************************************************************************
  * 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>
  *
@@ -43,7 +43,7 @@
         }                                                                     \
                                                                               \
         /* 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_height,                        \
                               p_vout->output.i_aspect );                      \