Commit dd1d94a2 authored by schreibfaul1's avatar schreibfaul1

fix err in memset (2)

parent ba9acdbb
...@@ -1516,7 +1516,7 @@ uint32_t quant_partition(int16_t *X, int32_t N, int32_t b, int32_t B, int16_t *l ...@@ -1516,7 +1516,7 @@ uint32_t quant_partition(int16_t *X, int32_t N, int32_t b, int32_t B, int16_t *l
cm_mask = (uint32_t)(1UL << B) - 1; cm_mask = (uint32_t)(1UL << B) - 1;
fill &= cm_mask; fill &= cm_mask;
if (!fill) { if (!fill) {
memset(X, 0, N * sizeof(X)); memset(X, 0, N * sizeof(int16_t));
} }
else { else {
if (lowband == NULL) { if (lowband == NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment