fix size check on timecode unmarshal

This commit is contained in:
Joel Wetzell
2026-05-23 07:42:48 -05:00
parent 4efa58ee25
commit 2cb6487036
+1 -1
View File
@@ -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")
}