shithub: opus

Download patch

ref: 20e4c6a611d05fb46607c5ef137d8d80033c748d
parent: 8fcde379ec369568e72d1294e332efa7ce11cd69
author: Jean-Marc Valin <[email protected]>
date: Tue Dec 21 17:27:08 EST 2010

Removing FIXMEs that were fixed

--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -387,7 +387,6 @@
 }
 
 #ifdef ENABLE_POSTFILTER
-/* FIXME: Handle the case where T = maxperiod */
 static void comb_filter(celt_word32 *y, celt_word32 *x, int T0, int T1, int N,
       int C, celt_word16 g0, celt_word16 g1, const celt_word16 *window, int overlap)
 {
@@ -473,7 +472,6 @@
    int tf_select=0;
    SAVE_STACK;
 
-   /* FIXME: Should check number of bytes *left* */
    if (nbCompressedBytes<15*C)
    {
       *tf_sum = 0;
@@ -504,7 +502,7 @@
       N = (m->eBands[i+1]-m->eBands[i])<<LM;
       for (j=0;j<N;j++)
          tmp[j] = X[j+(m->eBands[i]<<LM)];
-      /* FIXME: Do something with the right channel */
+      /* Just add the right channel if we're in stereo */
       if (C==2)
          for (j=0;j<N;j++)
             tmp[j] = ADD16(tmp[j],X[N0+j+(m->eBands[i]<<LM)]);