From 183ef5e2f0ba6124efac98efba67757f1e8b2aa9 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Fri, 3 Oct 2025 18:22:58 -0400 Subject: Update IMG4 transform to use DecodeWithContext and synthesize a filename for the payload. --- transform.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'transform.cpp') diff --git a/transform.cpp b/transform.cpp index 735fb1b9..c2e51e80 100644 --- a/transform.cpp +++ b/transform.cpp @@ -114,8 +114,7 @@ bool Transform::DecodeWithContextCallback(void* ctxt, BNTransformContext* contex paramMap[params[i].name] = DataBuffer(BNDuplicateDataBuffer(params[i].value)); CallbackRef xform(ctxt); - Ref contextRef = new TransformContext(BNNewTransformContextReference(context)); - return xform->DecodeWithContext(contextRef, paramMap); + return xform->DecodeWithContext(new TransformContext(context), paramMap); } -- cgit v1.3.1