From dd9e68e4db1aebe904b71b0b36448a8c30fbf115 Mon Sep 17 00:00:00 2001 From: Erik Zandvliet Date: Wed, 16 Aug 2017 10:59:10 +0200 Subject: [PATCH] Type changes --- src/output/output_progressive_mp4.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/output/output_progressive_mp4.cpp b/src/output/output_progressive_mp4.cpp index 693449a1..ed9c6a74 100644 --- a/src/output/output_progressive_mp4.cpp +++ b/src/output/output_progressive_mp4.cpp @@ -583,7 +583,7 @@ namespace Mist { //sort all parts here std::set trunOrder; //set with trackID, relative data offset, time and size - for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { + for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { uint64_t timeStamp = it->second.firstTime; DTSC::Track & thisTrack = myMeta.tracks[it->first]; for (uint32_t i = it->second.firstPart; i <= it->second.lastPart; i++) { @@ -617,7 +617,7 @@ namespace Mist { //It doesn't care about the order or track IDs in the header. //But - the first TRAF must be a video TRAF, if video is present. std::deque::iterator> sortedTracks; - for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { + for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { if (myMeta.tracks[it->first].type == "video"){ sortedTracks.push_front(it); }else{ @@ -933,7 +933,7 @@ namespace Mist { sendFragmentHeader(); partListSent = 0; partListLength = 0; - for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { + for (std::map::iterator it = currentPartSet.begin(); it != currentPartSet.end(); it++) { partListLength += it->second.lastPart - it->second.firstPart + 1; } }