[vlc-devel] commit: Missing <assert.h> ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Dec 29 21:38:53 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Dec 29 22:37:37 2008 +0200| [4dbd738aaffc5cbdb6a163a388dccab5f4de0114] | committer: Rémi Denis-Courmont 

Missing <assert.h>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4dbd738aaffc5cbdb6a163a388dccab5f4de0114
---

 src/control/log.c          |    1 +
 src/control/media_player.c |    1 +
 src/input/clock.c          |    1 +
 src/input/event.c          |    1 +
 4 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/control/log.c b/src/control/log.c
index 7ef7c51..6616dfe 100644
--- a/src/control/log.c
+++ b/src/control/log.c
@@ -25,6 +25,7 @@
 #include "libvlc_internal.h"
 #include "../libvlc.h"
 #include <vlc/libvlc.h>
+#include <assert.h>
 
 /* This API is terminally broken.
  * First, it does not implement any kind of notification.
diff --git a/src/control/media_player.c b/src/control/media_player.c
index 58e8350..7dbbb0c 100644
--- a/src/control/media_player.c
+++ b/src/control/media_player.c
@@ -28,6 +28,7 @@
 #include <vlc_input.h>
 #include <vlc_vout.h>
 #include "libvlc.h"
+#include <assert.h>
 
 static int
 input_seekable_changed( vlc_object_t * p_this, char const * psz_cmd,
diff --git a/src/input/clock.c b/src/input/clock.c
index f215f94..0b8a534 100644
--- a/src/input/clock.c
+++ b/src/input/clock.c
@@ -33,6 +33,7 @@
 #include <vlc_common.h>
 #include <vlc_input.h>
 #include "clock.h"
+#include <assert.h>
 
 /* TODO:
  * - clean up locking once clock code is stable
diff --git a/src/input/event.c b/src/input/event.c
index 999486f..d389319 100644
--- a/src/input/event.c
+++ b/src/input/event.c
@@ -32,6 +32,7 @@
 #include <vlc_input.h>
 #include "input_internal.h"
 #include "event.h"
+#include <assert.h>
 
 static void Trigger( input_thread_t *p_input, int i_type );
 




More information about the vlc-devel mailing list