summaryrefslogtreecommitdiffstats
path: root/src/mot-encoder.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 15:14:03 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-25 15:14:03 +0200
commitd99d238b55887c332dc34d4e3c80c22e11745440 (patch)
tree38b678c76361bbeb4756fbbd370448856459bb7e /src/mot-encoder.cpp
parent5a9d42c18d2669798910fa2dbf4df61473d58c9d (diff)
downloadfdk-aac-dabplus-d99d238b55887c332dc34d4e3c80c22e11745440.tar.gz
fdk-aac-dabplus-d99d238b55887c332dc34d4e3c80c22e11745440.tar.bz2
fdk-aac-dabplus-d99d238b55887c332dc34d4e3c80c22e11745440.zip
Correct signedness of mot header
Diffstat (limited to 'src/mot-encoder.cpp')
-rw-r--r--src/mot-encoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mot-encoder.cpp b/src/mot-encoder.cpp
index b885780..fc60f62 100644
--- a/src/mot-encoder.cpp
+++ b/src/mot-encoder.cpp
@@ -547,8 +547,8 @@ encodefile_out:
void createMotHeader(size_t blobsize, int fidx, unsigned char* mothdr, int* mothdrlen)
{
struct stat s;
- char MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01};
- char MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c,
+ uint8_t MotHeaderCore[7] = {0x00,0x00,0x00,0x00,0x0D,0x04,0x01};
+ uint8_t MotHeaderExt[19] = {0x85,0x00,0x00,0x00,0x00,0xcc,0x0c,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
char cntemp[12];
int i;