Skip to content

Commit b667054

Browse files
committed
Add nolint to play-from-disk-h264
Ignore high complexity error in example
1 parent 9f8f114 commit b667054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

play-from-disk-h264/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
h264FrameDuration = time.Millisecond * 33
2424
)
2525

26-
func main() {
26+
func main() { //nolint
2727
// Assert that we have an audio or video file
2828
_, err := os.Stat(videoFileName)
2929
haveVideoFile := !os.IsNotExist(err)

0 commit comments

Comments
 (0)