diff options
author | Stefan Pöschel <github@basicmaster.de> | 2017-02-11 11:27:23 +0100 |
---|---|---|
committer | Stefan Pöschel <github@basicmaster.de> | 2017-02-11 11:33:19 +0100 |
commit | 37e4f56b0dc4e42ca55a7744172778bd3958e4b8 (patch) | |
tree | 6e89b8e3041b62666cf9343ab864f89cadf44801 /src/sls.h | |
parent | d1a9e22b3ed08dffb75f430562530a7b8ab53d87 (diff) | |
download | ODR-PadEnc-37e4f56b0dc4e42ca55a7744172778bd3958e4b8.tar.gz ODR-PadEnc-37e4f56b0dc4e42ca55a7744172778bd3958e4b8.tar.bz2 ODR-PadEnc-37e4f56b0dc4e42ca55a7744172778bd3958e4b8.zip |
Slight refactorings
- SLSManager: store PADPacketizer ref + fix spacing
Diffstat (limited to 'src/sls.h')
-rw-r--r-- | src/sls.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -213,6 +213,7 @@ private: unsigned short int datalen); DATA_GROUP* packMscDG(MSCDG* msc); + PADPacketizer* pad_packetizer; int cindex_header; int cindex_body; public: @@ -222,9 +223,9 @@ public: static const int MINQUALITY; static const std::string SLS_PARAMS_SUFFIX; - SLSManager() : cindex_header(0), cindex_body(0) {} + SLSManager(PADPacketizer* pad_packetizer) : pad_packetizer(pad_packetizer), cindex_header(0), cindex_body(0) {} - int encodeFile(PADPacketizer& pad_packetizer, const std::string& fname, int fidx, bool raw_slides); + int encodeFile(const std::string& fname, int fidx, bool raw_slides); }; #endif /* SLS_H_ */ |