]> git.sesse.net Git - vlc/commitdiff
* all: only include header that are needed (and no more stdlib.h, string.h
authorLaurent Aimar <fenrir@videolan.org>
Sat, 22 Nov 2003 23:39:14 +0000 (23:39 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 22 Nov 2003 23:39:14 +0000 (23:39 +0000)
 as vlc/vlc.h include them).

28 files changed:
modules/codec/a52.c
modules/codec/adpcm.c
modules/codec/araw.c
modules/codec/cinepak.c
modules/codec/dts.c
modules/codec/dvbsub.c
modules/codec/faad.c
modules/codec/ffmpeg/audio.c
modules/codec/ffmpeg/chroma.c
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/postprocess.c
modules/codec/ffmpeg/video.c
modules/codec/flac.c
modules/codec/libmpeg2.c
modules/codec/lpcm.c
modules/codec/mpeg_audio.c
modules/codec/quicktime.c
modules/codec/rawvideo.c
modules/codec/speex.c
modules/codec/spudec/parse.c
modules/codec/spudec/render.c
modules/codec/spudec/spudec.c
modules/codec/subsdec.c
modules/codec/tarkin.c
modules/codec/theora.c
modules/codec/vorbis.c
modules/codec/xvid.c

index 65919c43974bffbcc24bb903076981f0462ed496..a1386fd1877755593ab5936ef33ecadc644d943b 100644 (file)
@@ -2,7 +2,7 @@
  * a52.c: parse A/52 audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2001-2002 VideoLAN
- * $Id: a52.c,v 1.30 2003/11/16 22:54:12 gbazin Exp $
+ * $Id: a52.c,v 1.31 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Stéphane Borel <stef@via.ecp.fr>
  *          Christophe Massiot <massiot@via.ecp.fr>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>                                              /* memcpy() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include "vlc_block_helper.h"
 
index 555f08ffe1e13d2fca4d1906148a34e9e05872ce..e16c4a948abfd5e966d8ffbde19ac8a3a4096fe2 100644 (file)
@@ -2,7 +2,7 @@
  * adpcm.c : adpcm variant audio decoder
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: adpcm.c,v 1.16 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: adpcm.c,v 1.17 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
  *
  * Documentation: http://www.pcisys.net/~melanson/codecs/adpcm.txt
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
-
-#include "codecs.h"
 
 /*****************************************************************************
  * Module descriptor
index ae7dd17d75d79494eb389b4c820ccd488ab20e0a..8434121ae7a1f0be6b468aa628aa5a0b183538aa 100644 (file)
@@ -2,7 +2,7 @@
  * araw.c: Pseudo audio decoder; for raw pcm data
  *****************************************************************************
  * Copyright (C) 2001, 2003 VideoLAN
- * $Id: araw.c,v 1.24 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: araw.c,v 1.25 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
-
-#include "codecs.h"
 
 /*****************************************************************************
  * Module descriptor
index 4a3b8eed1c41e111fb1642f9266c15dca0bf2e93..cedf7bb1f591b69d3a8bd49699997c185436c2a5 100644 (file)
@@ -2,7 +2,7 @@
  * cinepak.c: cinepak video decoder
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: cinepak.c,v 1.3 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: cinepak.c,v 1.4 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #define CINEPAK_MAXSTRIP 32
 
index 982f013fb75d194b36684dce48112c67b09411a2..79c34eab9104d55b2e6b96fc2938bc6e50c65cc7 100644 (file)
@@ -2,7 +2,7 @@
  * dts.c: parse DTS audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: dts.c,v 1.6 2003/11/16 22:54:12 gbazin Exp $
+ * $Id: dts.c,v 1.7 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Gildas Bazin <gbazin@netcourrier.com>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>                                              /* memcpy() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include "vlc_block_helper.h"
 
index 2a3f2d252b463fb7c3f2d75936c158692979f52c..c8b2104c1e145364db5a00f9d9af852b8bfc311a 100644 (file)
@@ -2,7 +2,7 @@
  * dvbsub.c : DVB subtitles decoder thread
  *****************************************************************************
  * Copyright (C) 2003 ANEVIA
- * $Id: dvbsub.c,v 1.3 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: dvbsub.c,v 1.4 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Damien LUCAS <damien.lucas@anevia.com>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
-#include "codecs.h"
 
+#include "codecs.h"
 
 // Wow, that's ugly but very usefull for a memory leak track
 // so I just keep it
index a6000b406f78cff33264fced5efd88637e1f046c..df932a64ecdc84b0df2690dc8cb47f14aca9e9b3 100644 (file)
@@ -2,7 +2,7 @@
  * decoder.c: AAC decoder using libfaad2
  *****************************************************************************
  * Copyright (C) 2001, 2003 VideoLAN
- * $Id: faad.c,v 1.4 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: faad.c,v 1.5 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
 
-#include <stdlib.h>
-
+#include <vlc/vlc.h>
 #include <vlc/aout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include <faad.h>
-#include "codecs.h"
 
 /*****************************************************************************
  * Module descriptor
  *****************************************************************************/
 static int  Open( vlc_object_t * );
-static void CloseDecoder( vlc_object_t * );
+static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( _("AAC audio decoder (using libfaad2)") );
     set_capability( "decoder", 60 );
-    set_callbacks( Open, CloseDecoder );
+    set_callbacks( Open, Close );
 vlc_module_end();
 
 
@@ -301,9 +298,9 @@ static aout_buffer_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
 }
 
 /*****************************************************************************
- * CloseDecoder:
+ * Close:
  *****************************************************************************/
-static void CloseDecoder( vlc_object_t *p_this )
+static void Close( vlc_object_t *p_this )
 {
     decoder_t *p_dec = (decoder_t *)p_this;
     decoder_sys_t *p_sys = p_dec->p_sys;
index 8ac82b6eff623e285a37beedaa2396c80ed77d57..6842ee26fa7a6ee52f5ca8691eca7bc8ae331e85 100644 (file)
@@ -2,7 +2,7 @@
  * audio.c: audio decoder using ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2003 VideoLAN
- * $Id: audio.c,v 1.24 2003/11/19 13:10:48 gbazin Exp $
+ * $Id: audio.c,v 1.25 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
-
-#include "codecs.h"
-#include "aout_internal.h"
 
 /* ffmpeg header */
 #ifdef HAVE_FFMPEG_AVCODEC_H
index dac452e048c9ccb264013401540feeadbb6d6114..7e59e3cad4499e22db3b7df80c4b5800bdbc6ed6 100644 (file)
@@ -2,7 +2,7 @@
  * chroma.c: chroma conversion using ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: chroma.c,v 1.3 2003/10/27 01:04:38 gbazin Exp $
+ * $Id: chroma.c,v 1.4 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -24,8 +24,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 
index fa3c307849fc433be4f2745cfa4c4196369701dd..bb5b1c06edaf851b1a9de7b711c21f8e84130484 100644 (file)
@@ -2,7 +2,7 @@
  * encoder.c: video and audio encoder using the ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: encoder.c,v 1.7 2003/11/16 21:07:31 gbazin Exp $
+ * $Id: encoder.c,v 1.8 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/aout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
-#include <vlc/sout.h>
-
-#include "aout_internal.h"
 
 /* ffmpeg header */
 #ifdef HAVE_FFMPEG_AVCODEC_H
index b90f2d8e312f03764d72bd6bfe726b476e109e52..d94450e0760e9fb4a06d29b9c7651433f19f2365 100644 (file)
@@ -2,7 +2,7 @@
  * ffmpeg.c: video decoder using ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: ffmpeg.c,v 1.59 2003/11/16 21:07:31 gbazin Exp $
+ * $Id: ffmpeg.c,v 1.60 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 /* ffmpeg header */
 #ifdef HAVE_FFMPEG_AVCODEC_H
index f9b5c7a0096915cba6dbfdba6885fbc20b970425..66cc4da52a09539e8aa11ccc2eded424a5125e49 100644 (file)
@@ -2,7 +2,7 @@
  * postprocess.c: video postprocessing using the ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: postprocess.c,v 1.2 2003/10/28 14:17:51 gbazin Exp $
+ * $Id: postprocess.c,v 1.3 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -21,8 +21,6 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
 
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
index c1c3b3b65badb7bcc5e9ec3f1f11a1a9c6084b9a..5d678a41c9143be5b3be350e09d4c4cb9fc577f6 100644 (file)
@@ -2,7 +2,7 @@
  * video.c: video decoder using the ffmpeg library
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: video.c,v 1.47 2003/11/19 13:10:48 gbazin Exp $
+ * $Id: video.c,v 1.48 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 /* ffmpeg header */
 #ifdef HAVE_FFMPEG_AVCODEC_H
index 907445e2a6babc21bf2ab04349154bb463dc53b8..01a0203d765e3dca71652283d7e6bfe29ad71a1d 100644 (file)
@@ -2,7 +2,7 @@
  * flac.c: flac decoder/packetizer/encoder module making use of libflac
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: flac.c,v 1.4 2003/11/22 12:41:32 gbazin Exp $
+ * $Id: flac.c,v 1.5 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Sigmund Augdal <sigmunau@idi.ntnu.no>
@@ -11,7 +11,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -25,9 +25,9 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include <FLAC/stream_decoder.h>
 #include <FLAC/stream_encoder.h>
index d80b1829adaa41bc0d9aeabda4fd7d4b5156d84b..e827145668241cedd2b5b9fd751363cfae2b4a38 100755 (executable)
@@ -2,7 +2,7 @@
  * libmpeg2.c: mpeg2 video decoder module making use of libmpeg2.
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: libmpeg2.c,v 1.33 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: libmpeg2.c,v 1.34 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Christophe Massiot <massiot@via.ecp.fr>
  *****************************************************************************/
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
-#include <vlc/input.h>
 #include <vlc/decoder.h>
 
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <mpeg2dec/mpeg2.h>
 
 #include "vout_synchro.h"
index 1d896de5b8b80ada77861f4d248f6c39f4d77b1d..2cdb1d9e6cc42660157332ee23ac0514e93f69fc 100644 (file)
@@ -2,7 +2,7 @@
  * lpcm.c: lpcm decoder/packetizer module
  *****************************************************************************
  * Copyright (C) 1999-2003 VideoLAN
- * $Id: lpcm.c,v 1.19 2003/11/22 18:04:10 gbazin Exp $
+ * $Id: lpcm.c,v 1.20 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Henri Fallon <henri@videolan.org>
@@ -13,7 +13,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
index 0aafe67b533d288c656179609823febc9fde86ed..056434126e56b6e74f0b20f33fe3994de6e617b0 100644 (file)
@@ -2,7 +2,7 @@
  * mpeg_audio.c: parse MPEG audio sync info and packetize the stream
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: mpeg_audio.c,v 1.23 2003/11/16 22:54:12 gbazin Exp $
+ * $Id: mpeg_audio.c,v 1.24 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Eric Petit <titer@videolan.org>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                              /* strdup() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 #include <vlc/aout.h>
-#include <vlc/sout.h>
 
 #include "vlc_block_helper.h"
 
index 185d631ba74d2a56487967658d9fa5b95299cfc6..6930b7d946043f2a4af7afa6d16e1842e9a17fbd 100644 (file)
@@ -2,7 +2,7 @@
  * quicktime.c: a quicktime decoder that uses the QT library/dll
  *****************************************************************************
  * Copyright (C) 2003 VideoLAN
- * $Id: quicktime.c,v 1.14 2003/10/01 20:57:34 hartman Exp $
+ * $Id: quicktime.c,v 1.15 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir at via.ecp.fr>
  *          Derk-Jan Hartman <thedj at users.sf.net>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+
 #include <vlc/vlc.h>
 #include <vlc/aout.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                              /* strdup() */
 #include "codecs.h"
 
 #ifdef SYS_DARWIN
index 390d22dd8be5151c4921f7aca780e0c7587bc578..cfd2aec90c86e8b00b94581a84e9a61508d088bf 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.8 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: rawvideo.c,v 1.9 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                              /* strdup() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
-
-#include "codecs.h"
 
 /*****************************************************************************
  * decoder_sys_t : raw video decoder descriptor
index e3578302d550c28bb47df251b2fd07b943ebc713..e5462658f1c72a03f5e70ec2dbf6fd7639de2e12 100755 (executable)
@@ -2,7 +2,7 @@
  * speex.c: speex decoder/packetizer module making use of libspeex.
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: speex.c,v 1.3 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: speex.c,v 1.4 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -10,7 +10,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include <ogg/ogg.h>
 #include <speex.h>
index 5777727f421122e47f67041f1a62c638a67961c7..9ffccb387f25ebddc035f747b5e8cd44b2905d7f 100644 (file)
@@ -2,7 +2,7 @@
  * parse.c: SPU parser
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: parse.c,v 1.14 2003/11/22 19:55:47 fenrir Exp $
+ * $Id: parse.c,v 1.15 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Laurent Aimar <fenrir@via.ecp.fr>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include "spudec.h"
 
index 0f0a020d042b75e4d04dbf2ec17427bc7625d397..0877649e7c408a0066da589f8f32afa846ff8173 100644 (file)
@@ -2,7 +2,7 @@
  * render.c : SPU renderer
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: render.c,v 1.7 2003/11/22 19:55:47 fenrir Exp $
+ * $Id: render.c,v 1.8 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Rudolf Cornelissen <rag.cornelissen@inter.nl.net>
@@ -26,8 +26,6 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
index 3d81e9fe1422a383428a8899b5b9909261fc71b0..1ba664565490cbb51210d65c153d3ce616e5c5c2 100644 (file)
@@ -2,7 +2,7 @@
  * spudec.c : SPU decoder thread
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: spudec.c,v 1.29 2003/11/22 20:15:34 fenrir Exp $
+ * $Id: spudec.c,v 1.30 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Laurent Aimar <fenrir@via.ecp.fr>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include "spudec.h"
 
index b8c73c67bb54b4499f4c9b0d85fcd58c01799bf7..99e442d9ed7b8755f6274ed9e0233f4fc7837236 100644 (file)
@@ -2,7 +2,7 @@
  * subsdec.c : text subtitles decoder
  *****************************************************************************
  * Copyright (C) 2000-2001 VideoLAN
- * $Id: subsdec.c,v 1.10 2003/11/19 13:25:48 hartman Exp $
+ * $Id: subsdec.c,v 1.11 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *          Samuel Hocevar <sam@zoy.org>
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
 #include <vlc/decoder.h>
+
 #include <osd.h>
-#include <codecs.h>
 
 #if defined(HAVE_ICONV)
 #include <iconv.h>
index 569d0f6326b92ad99d266c81b9083bd2e0075069..9d1f5327d7d95f273581292f2f60218a6d495650 100644 (file)
@@ -2,7 +2,7 @@
  * tarkin.c: tarkin decoder module making use of libtarkin.
  *****************************************************************************
  * Copyright (C) 2001-2003 VideoLAN
- * $Id: tarkin.c,v 1.8 2003/11/22 15:06:50 gbazin Exp $
+ * $Id: tarkin.c,v 1.9 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -25,7 +25,6 @@
  * Preamble
  *****************************************************************************/
 #include <vlc/vlc.h>
-#include <vlc/input.h>
 #include <vlc/decoder.h>
 
 #include <ogg/ogg.h>
index 48ffd2cccd36a440e5c5ed208db83d8f8f595947..5ab139cb40217cbfeafd87f9ff3d7a634daf083a 100644 (file)
@@ -2,7 +2,7 @@
  * theora.c: theora decoder module making use of libtheora.
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: theora.c,v 1.14 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: theora.c,v 1.15 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include <ogg/ogg.h>
 
index 072ea11fe2c20dc91f416717410c2af44e50509a..24800a7c9894d7ee82594270bc887a5d4dd164f1 100644 (file)
@@ -2,7 +2,7 @@
  * vorbis.c: vorbis decoder/encoder/packetizer module making use of libvorbis.
  *****************************************************************************
  * Copyright (C) 1999-2001 VideoLAN
- * $Id: vorbis.c,v 1.23 2003/11/16 22:54:12 gbazin Exp $
+ * $Id: vorbis.c,v 1.24 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdlib.h>                                      /* malloc(), free() */
-#include <string.h>                                    /* memcpy(), memset() */
-
 #include <vlc/vlc.h>
 #include <vlc/decoder.h>
-#include <vlc/input.h>
 
 #include <ogg/ogg.h>
 
index 666b225e5e02cfd615851461acb12a3bd05635d0..4b3ae7ddb470ce338df822c81b5744c605ad3033 100644 (file)
@@ -2,7 +2,7 @@
  * xvid.c: a decoder for libxvidcore, the Xvid video codec
  *****************************************************************************
  * Copyright (C) 2002 VideoLAN
- * $Id: xvid.c,v 1.7 2003/11/16 21:07:30 gbazin Exp $
+ * $Id: xvid.c,v 1.8 2003/11/22 23:39:14 fenrir Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
  *****************************************************************************/
 #include <vlc/vlc.h>
 #include <vlc/vout.h>
-#include <vlc/input.h>
 #include <vlc/decoder.h>
 
-#include <stdlib.h>
-
 #include "codecs.h"
 
 #include <xvid.h>