shithub: opus

Download patch

ref: 1b28e0cae55f66f76fdd7fae433c392a039565ff
parent: e83d2aa3f7e61cdea146f580c99fda7d3593a3ff
author: Jean-Marc Valin <[email protected]>
date: Thu Nov 14 20:57:25 EST 2013

Oops, missing semicolon on RESTORE_STACK in previous commit

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1306,7 +1306,7 @@
    tf_estimate = 0;
    if (nbCompressedBytes<2 || pcm==NULL)
    {
-      RESTORE_STACK
+      RESTORE_STACK;
       return OPUS_BAD_ARG;
    }
 
@@ -1316,7 +1316,7 @@
          break;
    if (LM>mode->maxLM)
    {
-      RESTORE_STACK
+      RESTORE_STACK;
       return OPUS_BAD_ARG;
    }
    M=1<<LM;
@@ -1350,7 +1350,7 @@
          int c0 = toOpus(compressed[0]);
          if (c0<0)
          {
-            RESTORE_STACK
+            RESTORE_STACK;
             return OPUS_BAD_ARG;
          }
          compressed[0] = c0;