Global: replaces __typeof__ to typeof

This commit is contained in:
李通洲
2026-07-11 00:10:40 +08:00
parent 2ae9c3da33
commit 9d6bb7d717
16 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ static bool ffCodecIsLikelySoftware(const char* codecName) {
static bool ffCodecIsHardwareAccelerated(
AMediaCodec* codec,
__typeof__(&AMediaCodec_getName) ffAMediaCodec_getName,
__typeof__(&AMediaCodec_releaseName) ffAMediaCodec_releaseName) {
typeof(&AMediaCodec_getName) ffAMediaCodec_getName,
typeof(&AMediaCodec_releaseName) ffAMediaCodec_releaseName) {
if (!codec) {
return false;
}