summaryrefslogtreecommitdiff
path: root/src/AS_DCP_internal.h
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2018-08-12 22:35:09 +0000
committerjhurst <>2018-08-12 22:35:09 +0000
commit79912d9558b67fb75dfad8bca29d2db1fa58a769 (patch)
tree93450ec3c85b083e309996334904fc08f88e5b68 /src/AS_DCP_internal.h
parent24b30516919d625991324b09820a15feb9365870 (diff)
o Oops, mistakenly turned off timed-text ancillary resource decryption
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);
}
}
}