diff options
| author | Mohamed Tarek <mt@rockbox.org> | 2009-07-16 23:09:28 +0000 |
|---|---|---|
| committer | Mohamed Tarek <mt@rockbox.org> | 2009-07-16 23:09:28 +0000 |
| commit | 20f8666b89f2ec7290d195732d5dc33d20cf3580 (patch) | |
| tree | 70880cf2d834895f3a7f1c9d2ec70be0dfe1508d /apps/codecs/libcook | |
| parent | 23cf0977cd6117c1c987f916d953409da138e0e6 (diff) | |
| download | rockbox-20f8666b89f2ec7290d195732d5dc33d20cf3580.zip rockbox-20f8666b89f2ec7290d195732d5dc33d20cf3580.tar.gz rockbox-20f8666b89f2ec7290d195732d5dc33d20cf3580.tar.bz2 rockbox-20f8666b89f2ec7290d195732d5dc33d20cf3580.tar.xz | |
Remove a call to av_clip() which limits the PCM output of the decoder to 16-bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21911 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libcook')
| -rw-r--r-- | apps/codecs/libcook/cook_fixpoint.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/libcook/cook_fixpoint.h b/apps/codecs/libcook/cook_fixpoint.h index e416bc4..2e7f689 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) int j; for (j = 0; j < q->samples_per_channel; j++) { - out[chan + q->nb_channels * j] = - av_clip(fixp_pow2(q->mono_mdct_output[j], -11), -32768, 32767); + out[chan + q->nb_channels * j] = fixp_pow2(q->mono_mdct_output[j], -11); } } |