From 2cb6487036bcbf341e27b7c150a403446932c9e5 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Sat, 23 May 2026 07:42:48 -0500 Subject: [PATCH] fix size check on timecode unmarshal --- timecode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timecode.go b/timecode.go index 3045f85..5bf0481 100644 --- a/timecode.go +++ b/timecode.go @@ -33,7 +33,7 @@ func (atc *ArtTimeCode) GetID() [8]uint8 { } func (atc *ArtTimeCode) UnmarshalBinary(data []byte) error { - if len(data) < 14 { + if len(data) < 19 { return errors.New("ArtTimeCode packet must be at least 14 bytes long") }