diff options
author | Christophe Gisquet <christophe.gisquet@gmail.com> | 2012-12-27 22:33:51 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-07-17 11:02:47 +0300 |
commit | b6293e2798afab60596a87010b6163fcb4ca3086 (patch) | |
tree | 256cc1560b131fd9d125ef8858f25d91d58d78ad /libavcodec/dcadec.c | |
parent | 50612484e058e8b241f0528584d64d9d2ccebf12 (diff) | |
download | ffmpeg-b6293e2798afab60596a87010b6163fcb4ca3086.tar.gz |
fmtconvert: Explicitly use int32_t instead of int
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/dcadec.c')
-rw-r--r-- | libavcodec/dcadec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/dcadec.c b/libavcodec/dcadec.c index 9b00d30b74..6fdf8288d6 100644 --- a/libavcodec/dcadec.c +++ b/libavcodec/dcadec.c @@ -1097,7 +1097,7 @@ static void dca_downmix(float **samples, int srcfmt, #ifndef decode_blockcodes /* Very compact version of the block code decoder that does not use table * look-up but is slightly slower */ -static int decode_blockcode(int code, int levels, int *values) +static int decode_blockcode(int code, int levels, int32_t *values) { int i; int offset = (levels - 1) >> 1; @@ -1111,7 +1111,7 @@ static int decode_blockcode(int code, int levels, int *values) return code; } -static int decode_blockcodes(int code1, int code2, int levels, int *values) +static int decode_blockcodes(int code1, int code2, int levels, int32_t *values) { return decode_blockcode(code1, levels, values) | decode_blockcode(code2, levels, values + 4); @@ -1140,7 +1140,7 @@ static int dca_subsubframe(DCAContext *s, int base_channel, int block_index) /* FIXME */ float (*subband_samples)[DCA_SUBBANDS][8] = s->subband_samples[block_index]; - LOCAL_ALIGNED_16(int, block, [8]); + LOCAL_ALIGNED_16(int32_t, block, [8]); /* * Audio data |