summaryrefslogtreecommitdiff
path: root/libavcodec/ra144.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-17 21:09:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-17 21:31:11 +0200
commit3220083c112f08d5f395133e25b4ccec9b47a759 (patch)
tree44e741a65cbc065c4b76f88f42141ae7e2c02150 /libavcodec/ra144.h
parentcc6f848dba89a6dc89b840cc2e1942cc3007c2a3 (diff)
downloadffmpeg-3220083c112f08d5f395133e25b4ccec9b47a759.tar.gz
ra144: Try to fix int16/uint16 warnings from pgc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ra144.h')
-rw-r--r--libavcodec/ra144.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra144.h b/libavcodec/ra144.h
index eb893988fb..426fea3be4 100644
--- a/libavcodec/ra144.h
+++ b/libavcodec/ra144.h
@@ -56,7 +56,7 @@ typedef struct RA144Context {
/** Adaptive codebook, its size is two units bigger to avoid a
* buffer overflow. */
- uint16_t adapt_cb[146+2];
+ int16_t adapt_cb[146+2];
} RA144Context;
void ff_copy_and_dup(int16_t *target, const int16_t *source, int offset);
@@ -69,7 +69,7 @@ int ff_interp(RA144Context *ractx, int16_t *out, int a, int copyold,
int energy);
unsigned int ff_rescale_rms(unsigned int rms, unsigned int energy);
int ff_irms(const int16_t *data);
-void ff_subblock_synthesis(RA144Context *ractx, const uint16_t *lpc_coefs,
+void ff_subblock_synthesis(RA144Context *ractx, const int16_t *lpc_coefs,
int cba_idx, int cb1_idx, int cb2_idx,
int gval, int gain);