summaryrefslogtreecommitdiffstats
path: root/sbc/sbc.c
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2008-01-11 20:28:18 +0000
committerBrad Midgley <bmidgley@xmission.com>2008-01-11 20:28:18 +0000
commit0dda8d7230df625baf35aeb9dd72b20d0923aebd (patch)
treeca44477993b0e73929f67d72560fd6ae83028cd7 /sbc/sbc.c
parent15ed6000c87ad5a4e314afb86fb98ea8b2dd76c6 (diff)
tweak to the memmove for 4 subbands
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r--sbc/sbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index 991a5e1a..0472762e 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -777,7 +777,7 @@ static inline void sbc_analyze_four(struct sbc_encoder_state *state,
struct sbc_frame *frame, int ch, int blk)
{
int32_t *x = state->X[ch];
- int16_t *pcm = &frame->pcm_sample[ch][blk * 8];
+ int16_t *pcm = &frame->pcm_sample[ch][blk * 4];
/* Input 4 Audio Samples */
memmove(x + 4, x, 36 * sizeof(*x));