Skip to content

Commit 21ef6ec

Browse files
author
Chong Zhang
committed
Fix deleter type mismatch
bug: 112713405 Change-Id: I6c6f42bca2eb24ab6efe28ef6fdc4d73a959bded
1 parent fdfae28 commit 21ef6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

media/libheif/include/HeifDecoderAPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ struct HeifFrameInfo
7474
int32_t mRotationAngle; // Rotation angle, clockwise, should be multiple of 90
7575
uint32_t mBytesPerPixel; // Number of bytes for one pixel
7676
uint32_t mIccSize; // Number of bytes in mIccData
77-
std::unique_ptr<uint8_t> mIccData; // Actual ICC data, memory is owned by this structure
77+
std::unique_ptr<uint8_t[]> mIccData; // Actual ICC data, memory is owned by this structure
7878
};
7979

8080
/*

0 commit comments

Comments
 (0)