shithub: opus

Download patch

ref: f477d5806e377bef909329bb8025b5c4ca4d598e
parent: aadaafdfcfabc75c1cc0f138c8d470d5db76cfac
author: Jean-Marc Valin <[email protected]>
date: Sun Jun 27 05:56:26 EDT 2010

Think I got static modes working again

--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -302,6 +302,7 @@
    if (mode==NULL)
       goto failure;
    CELT_COPY(mode, m, 1);
+   mode->bits = mode->_bits+1;
    mode->marker_start = MODEPARTIAL;
 #else
    int res;