From 4f70855bde0dbaa3f30d58e6cae9711b39cf2e6c Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Wed, 29 May 2024 15:00:13 +0100 Subject: [PATCH] MXFDump: fix index out of bounds The wrong table was used. Fixes #74 --- deps/libMXF/tools/MXFDump/MXFDump.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/libMXF/tools/MXFDump/MXFDump.cpp b/deps/libMXF/tools/MXFDump/MXFDump.cpp index ed4a71ed..9ce85825 100644 --- a/deps/libMXF/tools/MXFDump/MXFDump.cpp +++ b/deps/libMXF/tools/MXFDump/MXFDump.cpp @@ -3316,8 +3316,8 @@ void updateAAFLocalKey(const mxfKey& key, const mxfLocalKey localKey) mxfWarning("Cannot remap static local key as specified by Primer Pack " "(property \"%s\" has local key %04" MXFPRIx16 " in the AAF " "dictionary and %04" MXFPRIx16 " in the Primer)\n", - mxfLocalKeyTable[index]._name, - mxfLocalKeyTable[index]._localKey, + aafLocalKeyTable[index]._name, + aafLocalKeyTable[index]._localKey, localKey ); } }