From 6576442a1a5c40036470b58fefb6fe0a94936708 Mon Sep 17 00:00:00 2001 From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Thu, 16 Feb 2023 03:28:37 +0800 Subject: [PATCH] Fix --- websocket/Recoder.go | 2 -- 1 file changed, 2 deletions(-) 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 -- 2.39.2