From 3a994402964e0539f7f27977d07d5fed6edd45e4 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Tue, 23 Nov 2021 15:59:18 +0800 Subject: [PATCH] =?UTF-8?q?Refine:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E5=87=8F=E5=B0=91=E6=8B=B7=E8=B4=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtmp/RtmpProtocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rtmp/RtmpProtocol.cpp b/src/Rtmp/RtmpProtocol.cpp index 4f9a8af7..3b0c28c6 100644 --- a/src/Rtmp/RtmpProtocol.cpp +++ b/src/Rtmp/RtmpProtocol.cpp @@ -781,7 +781,7 @@ BufferRaw::Ptr RtmpProtocol::obtainBuffer(const void *data, size_t len) { if (data && len) { buffer->assign((const char *) data, len); } - return buffer; + return std::move(buffer); } } /* namespace mediakit */