adding prototypes for _ec calls
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 1 Jul 2010 14:25:30 +0000 (10:25 -0400)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 1 Jul 2010 14:25:30 +0000 (10:25 -0400)
celt
src/Makefile
src/hybrid_decoder.c
src/hybrid_encoder.c

diff --git a/celt b/celt
index 2f6c5fe..961f723 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit 2f6c5feae86a1648e20e251f19d6eb5ccb7a47c2
+Subproject commit 961f723ab756ac0a760a1b858c110720765a9a2c
index 3673a52..d777400 100644 (file)
@@ -1,2 +1,2 @@
 all:
-       gcc -O3 -g -I../ -I../celt/libcelt -L../celt/libcelt/.libs/ -o test_hybrid test_hybrid.c hybrid_decoder.c hybrid_encoder.c -lcelt0 -lm
+       gcc -DHAVE_CONFIG_H -I../celt -W -Wextra -Wall -O3 -g -I../ -I../celt/libcelt -L../celt/libcelt/.libs/ -o test_hybrid test_hybrid.c hybrid_decoder.c hybrid_encoder.c -lcelt0 -lm
index 6d0c16a..05928b6 100644 (file)
@@ -36,6 +36,7 @@
 #include <stdlib.h>
 #include "hybrid_decoder.h"
 #include "celt/libcelt/entdec.h"
+#include "celt/libcelt/modes.h"
 
 
 HybridDecoder *hybrid_decoder_create()
index 778a2af..6e19c43 100644 (file)
@@ -36,7 +36,7 @@
 #include <stdlib.h>
 #include "hybrid_encoder.h"
 #include "celt/libcelt/entenc.h"
-
+#include "celt/libcelt/modes.h"
 
 HybridEncoder *hybrid_encoder_create()
 {