From: qydysky Date: Thu, 13 Apr 2023 13:11:51 +0000 (+0800) Subject: Fix 录播文件出现多余数据导致无法回放 X-Git-Tag: v0.8.2~3 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=07de480c00b2f284d54a624eeaaace022f7c9714;p=bili_danmu%2F.git Fix 录播文件出现多余数据导致无法回放 --- diff --git a/Reply/stream.go b/Reply/stream.go index 692925c..02acc06 100644 --- a/Reply/stream.go +++ b/Reply/stream.go @@ -1269,9 +1269,6 @@ func (t *M4SStream) PusherToFile(contextC context.Context, filepath string, star } f.Write(t.getFirstBuf(), true) - if len(t.boot_buf) != 0 { - f.Write(t.boot_buf, true) - } t.Stream_msg.Pull_tag(map[string]func([]byte) bool{ `data`: func(b []byte) bool { select {