aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-06-24 22:27:10 +0200
committerPaul B Mahol <onemda@gmail.com>2017-06-24 22:30:44 +0200
commit10542491113d7b1378da669b8edcdc268b82322a (patch)
tree0ba3ad82e898ca01482b82418ec6cf478e4c92bb
parent32deea87c1d60c01a99786b7206b54efab6d8f64 (diff)
downloadffmpeg-10542491113d7b1378da669b8edcdc268b82322a.tar.gz
avcodec/adpcm_data: use uint16_t to handle all values
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/adpcm_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/adpcm_data.c b/libavcodec/adpcm_data.c
index 52271be26e..4cce0a5857 100644
--- a/libavcodec/adpcm_data.c
+++ b/libavcodec/adpcm_data.c
@@ -106,7 +106,7 @@ const int8_t ff_adpcm_yamaha_difflookup[] = {
-1, -3, -5, -7, -9, -11, -13, -15
};
-const int16_t ff_adpcm_afc_coeffs[2][16] = {
+const uint16_t ff_adpcm_afc_coeffs[2][16] = {
{ 0, 2048, 0, 1024, 4096, 3584, 3072, 4608, 4200, 4800, 5120, 2048, 1024, 64512, 64512, 63488 },
{ 0, 0, 2048, 1024, 63488, 64000, 64512, 62976, 63288, 63236, 62464, 63488, 64512, 1024, 0, 0 }
};