From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Wed, 15 Feb 2023 19:28:37 +0000 (+0800) Subject: Fix X-Git-Tag: v0.22.13 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=6576442a1a5c40036470b58fefb6fe0a94936708;p=part%2F.git Fix --- diff --git a/websocket/Recoder.go b/websocket/Recoder.go index e098fb9..ce6e624 100644 --- a/websocket/Recoder.go +++ b/websocket/Recoder.go @@ -122,8 +122,6 @@ func Play(filePath string) (s *Server, close func()) { tIndex := bytes.Index(data, []byte{','}) if d, _ := strconv.ParseFloat(string(data[:tIndex]), 64); d > cu+1 { break - } else if d < cu { - continue } danmuIndex := tIndex + bytes.Index(data[tIndex+2:], []byte{','}) + 3