diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-25 15:14:03 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-07-25 15:14:03 +0200 |
commit | d99d238b55887c332dc34d4e3c80c22e11745440 (patch) | |
tree | 38b678c76361bbeb4756fbbd370448856459bb7e /src | |
parent | 5a9d42c18d2669798910fa2dbf4df61473d58c9d (diff) | |
download | ODR-AudioEnc-d99d238b55887c332dc34d4e3c80c22e11745440.tar.gz ODR-AudioEnc-d99d238b55887c332dc34d4e3c80c22e11745440.tar.bz2 ODR-AudioEnc-d99d238b55887c332dc34d4e3c80c22e11745440.zip |
Correct signedness of mot header
Diffstat (limited to 'src')
-rw-r--r-- | src/mot-encoder.cpp | 4 |
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; |