summaryrefslogtreecommitdiff
path: root/src/AS_DCP_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AS_DCP_internal.h')
-rwxr-xr-xsrc/AS_DCP_internal.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h
index 73b9e7a..3c1a9b7 100755
--- a/src/AS_DCP_internal.h
+++ b/src/AS_DCP_internal.h
@@ -399,7 +399,8 @@ namespace ASDCP
// Reads a Generic Stream Partition payload. Returns RESULT_FORMAT if the SID is
// not present in the RIP, or if the actual partition at ByteOffset does not have
// a matching BodySID value. Encryption is not currently supported.
- Result_t ReadGenericStreamPartitionPayload(const ui32_t sid, ASDCP::FrameBuffer& frame_buf)
+ Result_t ReadGenericStreamPartitionPayload(const ui32_t sid, ASDCP::FrameBuffer& frame_buf,
+ AESDecContext* Ctx, HMACContext* HMAC)
{
Kumu::fpos_t start_offset = 0, end_offset = 0;
ui32_t sequence = 0;
@@ -451,7 +452,7 @@ namespace ASDCP
}
else
{
- result = ReadEKLVPacket(0, sequence, frame_buf, m_Dict->ul(MDD_GenericStream_DataElement), 0, 0);
+ result = ReadEKLVPacket(0, sequence, frame_buf, m_Dict->ul(MDD_GenericStream_DataElement), Ctx, HMAC);
}
}
}