From 26fd1e898e3f0188eb1c1a5c3443c26457a3b1a2 Mon Sep 17 00:00:00 2001 From: qydysky Date: Wed, 5 Jun 2024 13:46:26 +0000 Subject: [PATCH] =?utf8?q?=20Fix=20flv=E6=9C=AA=E6=8E=A5=E6=94=B6=E5=88=B0?= =?utf8?q?=E8=B5=B7=E5=A7=8B=E6=AE=B5=20#118?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/stream.go | 1 + 1 file changed, 1 insertion(+) diff --git a/Reply/stream.go b/Reply/stream.go index 3a994e2..b9735a7 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -785,6 +785,7 @@ func (t *M4SStream) saveStreamFlv() (e error) { } if len(front_buf) != 0 && len(t.first_buf) == 0 { t.first_buf = make([]byte, len(front_buf)) + copy(t.first_buf, front_buf) // fmt.Println("write front_buf") // t.Stream_msg.PushLock_tag(`data`, t.first_buf) t.msg.Push_tag(`load`, t) -- 2.39.2