Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>2004-08-13 11:34:55 +0400
committerconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>2004-08-13 11:34:55 +0400
commit0e3cdc5b2591b8626a508c5ef4c2b8a2e213ebda (patch)
treeb4b322610749f10eaec0dd543d3e47f007d1b94a /src
parentf778fb7e644d2a80c1e2b871b4a899b1509e0df8 (diff)
remove DISABLE_GLOBAL_POINTERS stuff from speexdec,
and switch to speex_lib_get_mode() git-svn-id: http://svn.xiph.org/trunk/speex@7558 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src')
-rw-r--r--src/speexdec.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/speexdec.c b/src/speexdec.c
index f0a8982..512f506 100644
--- a/src/speexdec.c
+++ b/src/speexdec.c
@@ -86,10 +86,6 @@
#include <speex/speex_callbacks.h>
#include "misc.h"
-#ifdef DISABLE_GLOBAL_POINTERS
-#include <speex/speex_noglobals.h>
-#endif
-
#define MAX_FRAME_SIZE 2000
#define readint(buf, base) (((buf[base+3]<<24)&0xff000000)| \
@@ -328,11 +324,7 @@ static void *process_header(ogg_packet *op, int enh_enabled, int *frame_size, in
if (forceMode!=-1)
modeID = forceMode;
-#ifdef DISABLE_GLOBAL_POINTERS
- mode = speex_mode_new (modeID);
-#else
- mode = speex_mode_list[modeID];
-#endif
+ mode = speex_lib_get_mode (modeID);
if (header->speex_version_id > 1)
{