From 4674d3b048484d25de872e8b9f936c21394ded8a Mon Sep 17 00:00:00 2001 From: huchao Date: Tue, 24 Jun 2025 10:51:20 +0800 Subject: [PATCH] modify aisr crash Signed-off-by: huchao --- frameworks/innerkitsimpl/codec/src/image_source.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/innerkitsimpl/codec/src/image_source.cpp b/frameworks/innerkitsimpl/codec/src/image_source.cpp index 9b72e1b3d..95275949c 100644 --- a/frameworks/innerkitsimpl/codec/src/image_source.cpp +++ b/frameworks/innerkitsimpl/codec/src/image_source.cpp @@ -4632,6 +4632,8 @@ static void CopyOutInfoOfContext(const DecodeContext &srcCtx, DecodeContext &dst dstCtx.pixelFormat = srcCtx.pixelFormat; dstCtx.info.pixelFormat = srcCtx.info.pixelFormat; dstCtx.info.alphaType = srcCtx.info.alphaType; + dstCtx.info.size.width = srcCtx.info.size.width; + dstCtx.info.size.height = srcCtx.info.size.height; dstCtx.isAisr = srcCtx.isAisr; dstCtx.grColorSpaceName = srcCtx.grColorSpaceName; dstCtx.yuvInfo.imageSize.width = srcCtx.outInfo.size.width; -- Gitee