o Oops, mistakenly turned off timed-text ancillary resource decryption
[asdcplib.git] / src / AS_DCP_internal.h
index 73b9e7a45fd89a8e93262d207a18c2d4031ad44c..3c1a9b7f5e255bef36f9007afac1c529a7b664f8 100755 (executable)
@@ -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);
                    }
                }
            }