From 37e4f56b0dc4e42ca55a7744172778bd3958e4b8 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Sat, 11 Feb 2017 11:27:23 +0100 Subject: Slight refactorings - SLSManager: store PADPacketizer ref + fix spacing --- src/sls.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sls.h') diff --git a/src/sls.h b/src/sls.h index 69fc034..44ca39b 100644 --- a/src/sls.h +++ b/src/sls.h @@ -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_ */ -- cgit v1.2.3