aboutsummaryrefslogtreecommitdiffstats
path: root/src/sls.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2020-09-14 14:53:28 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2020-09-14 14:53:28 +0200
commit6ea59e3c2b2fba81ed01a11c0ddfdd2d26455bfb (patch)
treed293f37b54f6d63fdb7c2fb3694822f0c692547a /src/sls.h
parentbe7c6e78d334ffa9919b970aaecf2ff5f27a0354 (diff)
downloadODR-PadEnc-6ea59e3c2b2fba81ed01a11c0ddfdd2d26455bfb.tar.gz
ODR-PadEnc-6ea59e3c2b2fba81ed01a11c0ddfdd2d26455bfb.tar.bz2
ODR-PadEnc-6ea59e3c2b2fba81ed01a11c0ddfdd2d26455bfb.zip
Handle slides ending in _PadEncRawMode.jpg always in RAW
Diffstat (limited to 'src/sls.h')
-rw-r--r--src/sls.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sls.h b/src/sls.h
index 07e05dc..dbbcf3c 100644
--- a/src/sls.h
+++ b/src/sls.h
@@ -73,7 +73,7 @@ struct MSCDG {
unsigned char rcount; // 3 bits
unsigned short int seglen; // 13 bits
// Mot segment
- unsigned char* segdata;
+ const uint8_t* segdata;
// MSC data group CRC
unsigned short int crc; // 16 bits
};
@@ -237,7 +237,7 @@ private:
uint8_vector_t createMotHeader(size_t blobsize, int fidx, bool jfif_not_png, const std::string &params_fname);
void createMscDG(MSCDG* msc, unsigned short int dgtype,
int *cindex, unsigned short int segnum, unsigned short int lastseg,
- unsigned short int tid, unsigned char* data,
+ unsigned short int tid, const uint8_t* data,
unsigned short int datalen);
DATA_GROUP* packMscDG(MSCDG* msc);