From abd5617bd72a8c98d1519df034245044a3612e54 Mon Sep 17 00:00:00 2001 From: zhonglufu Date: Wed, 7 Aug 2024 10:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E9=A2=91=E4=BF=AE=E6=94=B9coody?= =?UTF-8?q?=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhonglufu --- .../receiverengine/src/av_receiver_engine_transport.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/services/audiotransport/receiverengine/src/av_receiver_engine_transport.cpp b/services/audiotransport/receiverengine/src/av_receiver_engine_transport.cpp index 6849ae29..f5ab6aa1 100644 --- a/services/audiotransport/receiverengine/src/av_receiver_engine_transport.cpp +++ b/services/audiotransport/receiverengine/src/av_receiver_engine_transport.cpp @@ -129,6 +129,7 @@ void AVTransReceiverTransport::OnEngineDataAvailable(const std::shared_ptrGetBufferData(0); + CHECK_NULL_VOID(bufferData); std::shared_ptr audioData = std::make_shared(bufferData->GetSize()); int32_t ret = memcpy_s(audioData->Data(), audioData->Capacity(), bufferData->GetAddress(), bufferData->GetSize()); if (ret != EOK) { -- Gitee