]> 127.0.0.1 Git - part/.git/commitdiff
Fix v0.22.13
authorqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 15 Feb 2023 19:28:37 +0000 (03:28 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 15 Feb 2023 19:28:37 +0000 (03:28 +0800)
websocket/Recoder.go

index e098fb9b8031a1307e4034fdebd8fc0aa14899b2..ce6e6248d0b4cd52f05918623ade78175913257f 100644 (file)
@@ -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