summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2008-01-29 19:47:49 +0000
committerBrad Midgley <bmidgley@xmission.com>2008-01-29 19:47:49 +0000
commit4b8bfb24c7666cb0b6eb26abe9a7d5072e3f9c4e (patch)
tree7d21ec5aaeb8827e615190e0bdb7a18365b729c5
parentc6d9a4373d855d72d7d7fe63718cd4dc79fd3881 (diff)
one more .X 32-bitism
-rw-r--r--sbc/sbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index a4f7b7dd..e46c2b0f 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -778,7 +778,7 @@ static inline void _sbc_analyze_four(const int32_t *in, int32_t *out)
static inline void sbc_analyze_four(struct sbc_encoder_state *state,
struct sbc_frame *frame, int ch, int blk)
{
- int16_t *x = &state->X[ch][state->position[ch]];
+ int32_t *x = &state->X[ch][state->position[ch]];
int16_t *pcm = &frame->pcm_sample[ch][blk * 4];
/* Input 4 Audio Samples */