From 0dda8d7230df625baf35aeb9dd72b20d0923aebd Mon Sep 17 00:00:00 2001 From: Brad Midgley Date: Fri, 11 Jan 2008 20:28:18 +0000 Subject: tweak to the memmove for 4 subbands --- sbc/sbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbc') 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)); -- cgit