From 018a48921cdae58d8dec9b06e63300952279c9b3 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 1 Mar 2024 17:48:59 +0100 Subject: XIFF: Update XIFF container. Signed-off-by: Amlal El Mahrouss --- Public/Kits/SystemKit/XIFF.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Public/Kits/SystemKit/XIFF.hxx b/Public/Kits/SystemKit/XIFF.hxx index acaf9103..29726a14 100644 --- a/Public/Kits/SystemKit/XIFF.hxx +++ b/Public/Kits/SystemKit/XIFF.hxx @@ -14,13 +14,16 @@ #include +/// @brief four-character code for XIFF. +#define kFourCCLength_XIFF 4 + /*** * @brief Generic XIFF header * Used by XIFF based containers. */ struct PACKED XiffHeader final { - BYTE f_Mag[5]; // XIFF string (includes \0) + BYTE f_Mag[kFourCCLength_XIFF]; // XIFF string (includes \0) DWORD f_Size; // overall size of header (XiffHeader) in bytes DWORD f_FormatType; // format type. generic BYTE f_SpecificMag[4]; // The sub header magic -- cgit v1.2.3