2023-10-31 09:16:44 CST W44D2

This commit is contained in:
aggresss
2023-10-31 09:16:44 +08:00
parent f00ecdba54
commit e20be69f17
51 changed files with 645 additions and 78 deletions

View File

@@ -34,7 +34,7 @@ func AvutilLicense() string {
return C.GoString(C.avutil_license())
}
// Media Type
// Media Type.
type AVMediaType = C.enum_AVMediaType
const (
@@ -99,6 +99,7 @@ func AvXIfNull[T any](p, x *T) *T {
return x
}
// AvStringIfNull
func AvStringIfNull(p, x string) string {
if len(p) != 0 {
return p