2023-10-27 06:28:27 CST W43D5

This commit is contained in:
aggresss
2023-10-27 06:28:28 +08:00
parent babffde433
commit 7a0773ebf2
57 changed files with 4729 additions and 2853 deletions

View File

@@ -11,7 +11,7 @@ func AvBase64Decode(out *uint8, in *int8, outSize int32) int32 {
}
// AV_BASE64_DECODE_SIZE
func AV_BASE64_DECODE_SIZE[T HelperInteger](x T) T {
func AV_BASE64_DECODE_SIZE[T Integer](x T) T {
return x * 3 / 4
}
@@ -21,6 +21,6 @@ func AvBase64Encode(out *int8, outSize int32, in *uint8, inSize int32) *int8 {
}
// AV_BASE64_SIZE
func AV_BASE64_SIZE[T HelperInteger](x T) T {
func AV_BASE64_SIZE[T Integer](x T) T {
return (x+2)/3*4 + 1
}