improve coverage (#168)

This commit is contained in:
Alessandro Ros
2023-01-06 23:34:10 +01:00
committed by GitHub
parent a759ba9d01
commit 2e88705875
195 changed files with 535 additions and 63 deletions

View File

@@ -27,7 +27,7 @@ func AVCCUnmarshal(buf []byte) ([][]byte, error) {
}
if (len(ret) + 1) > MaxNALUsPerGroup {
return nil, fmt.Errorf("number of NALUs contained inside a single group (%d) is too big (maximum is %d)",
return nil, fmt.Errorf("NALU count (%d) exceeds maximum allowed (%d)",
len(ret)+1, MaxNALUsPerGroup)
}