Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
q191201771 committed Apr 18, 2024
1 parent 7bee79f commit d4c38c1
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ Bugs, questions, suggestions, anything related or not, feel free to contact me w

MIT, see [License](https://github.com/q191201771/lal/blob/master/LICENSE).

this note updated by yoko, 202303
this note updated by yoko, 202311
8 changes: 8 additions & 0 deletions pkg/base/basic_session_stat_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2023, Chef. All rights reserved.
// https://github.com/q191201771/lal
//
// Use of this source code is governed by a MIT-style license
// that can be found in the License file.
//
// Author: Chef ([email protected])

package base

import (
Expand Down
8 changes: 8 additions & 0 deletions pkg/mpegts/crc32_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
// Copyright 2023, Chef. All rights reserved.
// https://github.com/q191201771/lal
//
// Use of this source code is governed by a MIT-style license
// that can be found in the License file.
//
// Author: Chef ([email protected])

package mpegts

import (
Expand Down
2 changes: 1 addition & 1 deletion pkg/rtmp/handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func findDigest(b []byte, base int, key []byte) int {
digest := make([]byte, keyLen)
makeDigestWithoutCenterPart(b, offs, key, digest)
// compare origin digest in buffer with calced digest
if bytes.Equal(digest, b[offs : offs+keyLen]) {
if bytes.Equal(digest, b[offs:offs+keyLen]) {
return offs
}
return -1
Expand Down

0 comments on commit d4c38c1

Please sign in to comment.