summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/codecs/libcook/cook_fixpoint.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h
index e416bc4ef5..2e7f68913b 100644
--- a/apps/codecs/libcook/cook_fixpoint.h
+++ b/apps/codecs/libcook/cook_fixpoint.h
@@ -291,7 +291,6 @@ static inline void output_math(COOKContext *q, int16_t *out, int chan)
291 int j; 291 int j;
292 292
293 for (j = 0; j < q->samples_per_channel; j++) { 293 for (j = 0; j < q->samples_per_channel; j++) {
294 out[chan + q->nb_channels * j] = 294 out[chan + q->nb_channels * j] = fixp_pow2(q->mono_mdct_output[j], -11);
295 av_clip(fixp_pow2(q->mono_mdct_output[j], -11), -32768, 32767);
296 } 295 }
297} 296}