Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 8db5252

Browse files
author
Yang, JunchaoX
committed
fix compile error for msdk build
1 parent ae54a7d commit 8db5252

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/core/owt_base/MsdkFrameDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ void MsdkFrameDecoder::updateBitstream(const Frame& frame)
455455
, newSize
456456
);
457457

458-
uint8_t* tmpDataBuf = realloc(m_bitstream->Data, newSize);
458+
uint8_t* tmpDataBuf = (uint8_t*)realloc(m_bitstream->Data, newSize);
459459
if (tmpDataBuf == nullptr) {
460460
free(m_bitstream->Data);
461461
m_bitstream.reset();

0 commit comments

Comments
 (0)