aboutsummaryrefslogtreecommitdiff
path: root/src/adpcm
diff options
context:
space:
mode:
authorLadislav Zezula <ladislav.zezula@avast.com>2022-05-15 20:13:36 +0200
committerLadislav Zezula <ladislav.zezula@avast.com>2022-05-15 20:13:36 +0200
commit07f9be39a62b93fa3af07c2fc02dcd25edd2c00b (patch)
tree5f6f348381c516aa3e307a41d24086da5b243acc /src/adpcm
parent4321c59d8431eaf72d7b36c047859b72bca02318 (diff)
Code refined
Diffstat (limited to 'src/adpcm')
-rw-r--r--src/adpcm/adpcm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/adpcm/adpcm.cpp b/src/adpcm/adpcm.cpp
index 60e6738..1725008 100644
--- a/src/adpcm/adpcm.cpp
+++ b/src/adpcm/adpcm.cpp
@@ -387,7 +387,7 @@ int DecompressADPCM(void * pvOutBuffer, int cbOutBuffer, void * pvInBuffer, int
typedef struct _ADPCM_DATA
{
- unsigned int * pValues;
+ const unsigned int * pValues;
int BitCount;
int field_8;
int field_C;
@@ -404,7 +404,7 @@ static const unsigned int adpcm_values_6[] =
0x46, 0x53, 0x60, 0x6D, 0x7A, 0x86, 0x93, 0xA0, 0xAD, 0xBA, 0xC6, 0xD3, 0xE0, 0xED, 0xFA, 0x106
};
-static unsigned int * InitAdpcmData(PADPCM_DATA pData, unsigned char BitCount)
+static const unsigned int * InitAdpcmData(PADPCM_DATA pData, unsigned char BitCount)
{
switch(BitCount)
{