fix ARM compilation (#4280)
Some checks are pending
code_lint / golangci_lint (push) Waiting to run
code_lint / mod_tidy (push) Waiting to run
code_lint / api_docs (push) Waiting to run
code_test / test_64 (push) Waiting to run
code_test / test_32 (push) Waiting to run
code_test / test_highlevel (push) Waiting to run

This commit is contained in:
Kibeom Lee 2025-02-28 04:13:18 +09:00 committed by GitHub
parent 7ab8fbb55d
commit 95d0be64bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -166,7 +166,8 @@ outer:
uint64(buf[4])<<24 | uint64(buf[3])<<16 | uint64(buf[2])<<8 | uint64(buf[1])
dts := time.Duration(tmp) * time.Microsecond
nalus, err := h264.AnnexBUnmarshal(buf[9:])
var nalus h264.AnnexB
err = nalus.Unmarshal(buf[9:])
if err != nil {
return err
}