ref: 2d0a2f3413308aa682a61f4413f5e857ffce17d9
parent: a9718e497c0b272f8604be21b06aa580b462ab05
author: Jean-Marc Valin <[email protected]>
date: Wed Jun 30 18:04:02 EDT 2010
Temporary makefile, fixed a segfault
--- /dev/null
+++ b/src/Makefile
@@ -1,0 +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
--- a/src/hybrid_decoder.c
+++ b/src/hybrid_decoder.c
@@ -71,7 +71,7 @@
celt_decoder_ctl(st->celt_dec, CELT_SET_START_BAND(13));
/* Encode high band with CELT */
- celt_ret = celt_decode_with_ec(st->celt_dec, data, len, pcm, NULL, frame_size, &dec);
+ celt_ret = celt_decode_with_ec(st->celt_dec, data, len, pcm, frame_size, &dec);
return celt_ret;