]> git.sesse.net Git - vlc/commitdiff
Missing <assert.h>
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 29 Dec 2008 21:12:34 +0000 (23:12 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 29 Dec 2008 21:12:34 +0000 (23:12 +0200)
modules/codec/lpcm.c
modules/control/rc.c
modules/mux/mpeg/pes.c
modules/packetizer/mlp.c
modules/stream_out/record.c
modules/video_filter/yuvp.c

index 32bd3d2910cda2fe20a1731e29cbe7e8c22de949..52adfc9a923ece7ba17e6d8ebba24e04265ba748 100644 (file)
@@ -36,6 +36,7 @@
 #include <vlc_plugin.h>
 #include <vlc_codec.h>
 #include <vlc_aout.h>
+#include <assert.h>
 
 /*****************************************************************************
  * Module descriptor
index 79814d5b64be8ad0392100cd852e92d4bc870ae0..965f7191db865f162c264313babfbcf584d69d89 100644 (file)
@@ -35,6 +35,7 @@
 #include <errno.h>                                                 /* ENOMEM */
 #include <ctype.h>
 #include <signal.h>
+#include <assert.h>
 
 #include <vlc_interface.h>
 #include <vlc_aout.h>
@@ -1726,7 +1727,7 @@ static int VideoConfig( vlc_object_t *p_this, char const *psz_cmd,
         psz_variable = "video-snapshot";
     }
     else
-        /* This case can't happend */
+        /* This case can't happen */
         assert( 0 );
 
     if( newval.psz_string && *newval.psz_string )
index 9e14037dc0f5b5139ba2a5fb9ac165efe59d5561..06afc9a08b351d9611ba255e28baba5315874831 100644 (file)
 # include "config.h"
 #endif
 
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <fcntl.h>
-
 #include <vlc_common.h>
 #include <vlc_sout.h>
 #include <vlc_block.h>
-
-#ifdef HAVE_UNISTD_H
-#   include <unistd.h>
-#endif
+#include <assert.h>
 
 #include <vlc_codecs.h>
 #include "pes.h"
index 06eb1c15588f145d568e15253ecb68f074029c1a..cd4ce12250327eb059a582f59ba43f58db02f052 100644 (file)
@@ -34,6 +34,7 @@
 #include <vlc_aout.h>
 #include <vlc_block_helper.h>
 #include <vlc_bits.h>
+#include <assert.h>
 
 /*****************************************************************************
  * Module descriptor
index e64fcf3442c469e0c1ebc8c47787d245e7bb4610..1174f97a8583b4fe8d7b40992fbf426d7337743f 100644 (file)
@@ -36,6 +36,7 @@
 #include <vlc_block.h>
 #include <vlc_sout.h>
 #include <vlc_charset.h>
+#include <assert.h>
 
 /*****************************************************************************
  * Exported prototypes
index 5023b422506373d9e9eae8d53bc84060ac9f820b..72c6fb8898a01522b0fa3d517944ab11accc06fd 100644 (file)
@@ -32,6 +32,7 @@
 #include <vlc_plugin.h>
 #include <vlc_vout.h>
 #include "vlc_filter.h"
+#include <assert.h>
 
 /* TODO:
  *  Add anti-aliasing support (specially for DVD where only 4 colors are used)