Skip to content

Commit

Permalink
MXFDump: fix index out of bounds
Browse files Browse the repository at this point in the history
The wrong table was used.

Fixes #74
  • Loading branch information
philipnbbc committed May 29, 2024
1 parent 52c7517 commit 4f70855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/libMXF/tools/MXFDump/MXFDump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
}
Expand Down

0 comments on commit 4f70855

Please sign in to comment.