Changed bufferLivePacket and related functions to have const DTSC::Packet references

This commit is contained in:
Thulinma 2017-07-03 15:39:10 +02:00
parent 54a8803f29
commit 8353939d8a

View file

@ -336,7 +336,7 @@ namespace Mist {
Bit::htobll(iVec, iVecs[tid]);
iVecs[tid] ++;
Encryption::encryptPlayReady(pack, myMeta.tracks[tid].codec, iVec, vmData.key.data());
Encryption::encryptPlayReady((DTSC::Packet&)pack, myMeta.tracks[tid].codec, iVec, vmData.key.data());
}
//First memcpy only the payload to the destination