test error

This commit is contained in:
Andrey Semochkin
2021-04-10 10:46:45 +03:00
parent b0aae43f10
commit 9f799014f4
2 changed files with 7 additions and 1 deletions

View File

@@ -227,6 +227,9 @@ func SplitNALUs(b []byte) (nalus [][]byte, typ int) {
_b := b[4:]
nalus := [][]byte{}
for {
if _val4 > uint32(len(_b)) {
break
}
nalus = append(nalus, _b[:_val4])
_b = _b[_val4:]
if len(_b) < 4 {