[xiph-cvs] cvs commit: speex/libspeex modes.c

Jean-Marc Valin jm at xiph.org
Mon Jun 2 22:30:14 PDT 2003



jm          03/06/03 01:30:14

  Modified:    libspeex Tag: rel-1-0-branch modes.c
  Log:
  oops. Fixed a bug in frame size mode query (merged from trunk)

Revision  Changes    Path
No                   revision

<p>No                   revision

<p>1.103.2.1 +1 -1      speex/libspeex/modes.c

Index: modes.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/modes.c,v
retrieving revision 1.103
retrieving revision 1.103.2.1
diff -u -r1.103 -r1.103.2.1
--- modes.c	3 Mar 2003 03:36:56 -0000	1.103
+++ modes.c	3 Jun 2003 05:30:14 -0000	1.103.2.1
@@ -626,7 +626,7 @@
    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)

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list