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

github.com/xiph/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2003-06-03 09:30:14 +0400
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>2003-06-03 09:30:14 +0400
commitcad8ae77fa44b120a3c802d1c8ea11130c69fd6e (patch)
tree648a1e2e05315fbb9b31c6248f0a62f05577a923
parent7787a2be2600bd47ad9cf719cb500d1e0594adf7 (diff)
oops. Fixed a bug in frame size mode query (merged from trunk)
git-svn-id: http://svn.xiph.org/branches/rel-1-0-branch/speex@4860 0101bb08-14d6-0310-b084-bc0e0c8e3800
-rw-r--r--libspeex/modes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libspeex/modes.c b/libspeex/modes.c
index 4423d8a..b525872 100644
--- a/libspeex/modes.c
+++ b/libspeex/modes.c
@@ -626,7 +626,7 @@ static int wb_mode_query(void *mode, int request, void *ptr)
switch (request)
{
case SPEEX_MODE_FRAME_SIZE:
- *((int*)ptr)=m->frameSize;
+ *((int*)ptr)=2*m->frameSize;
break;
case SPEEX_SUBMODE_BITS_PER_FRAME:
if (*((int*)ptr)==0)