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/odr-padenc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/odr-padenc.cpp') diff --git a/src/odr-padenc.cpp b/src/odr-padenc.cpp index 866b93e..d068e49 100644 --- a/src/odr-padenc.cpp +++ b/src/odr-padenc.cpp @@ -247,7 +247,7 @@ int main(int argc, char *argv[]) PADPacketizer pad_packetizer(padlen); DLSManager dls_manager(&pad_packetizer); - SLSManager sls_manager; + SLSManager sls_manager(&pad_packetizer); std::list slides_to_transmit; History slides_history(History::MAXHISTORYLEN); @@ -310,7 +310,7 @@ int main(int argc, char *argv[]) it != slides_to_transmit.cend(); ++it) { - ret = sls_manager.encodeFile(pad_packetizer, it->filepath, it->fidx, raw_slides); + ret = sls_manager.encodeFile(it->filepath, it->fidx, raw_slides); if (ret != 1) fprintf(stderr, "ODR-PadEnc Error: cannot encode file '%s'\n", it->filepath.c_str()); -- cgit v1.2.3