improve NALU size limit errors (#741)

This commit is contained in:
Alessandro Ros
2025-03-27 11:38:28 +01:00
committed by GitHub
parent 4b0fe4f7d2
commit abef977ad5
6 changed files with 12 additions and 9 deletions

View File

@@ -241,7 +241,7 @@ func TestDecoderErrorLimit(t *testing.T) {
})
}
require.EqualError(t, err, "NALU count exceeds maximum allowed (25)")
require.EqualError(t, err, "NALU count (26) exceeds maximum allowed (25)")
}
func TestDecodeErrorMissingPacket(t *testing.T) {