shithub: opus

Download patch

ref: 11c718abdddff88321f8508899d6fae720452d5d
parent: 2d0a2f3413308aa682a61f4413f5e857ffce17d9
author: Jean-Marc Valin <[email protected]>
date: Thu Jul 1 06:25:30 EDT 2010

adding prototypes for _ec calls

--- a/src/Makefile
+++ b/src/Makefile
@@ -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
--- a/src/hybrid_decoder.c
+++ b/src/hybrid_decoder.c
@@ -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()
--- a/src/hybrid_encoder.c
+++ b/src/hybrid_encoder.c
@@ -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()
 {