Add support for coding signs with 0 pulses.
[opus.git] / silk / decode_pulses.c
index 8b3fae7..692ab92 100644 (file)
@@ -103,6 +103,8 @@ void silk_decode_pulses(
                 }
                 pulses_ptr[ k ] = abs_q;
             }
+            /* Mark the number of pulses non-zero for sign decoding. */
+            sum_pulses[ i ] |= nLS << 5;
         }
     }