Global: replaces NULL to nullptr

This commit is contained in:
李通洲
2026-07-10 18:08:04 +08:00
parent 873454191f
commit ba18705d2e
387 changed files with 2411 additions and 2411 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ static bool ffCodecIsHardwareAccelerated(
return false;
}
char* codecName = NULL;
char* codecName = nullptr;
media_status_t status = ffAMediaCodec_getName(codec, &codecName);
if (status != AMEDIA_OK || !codecName) {
return false;
@@ -98,5 +98,5 @@ const char* ffDetectCodecNative(FFCodecOptions* options, FFlist* result /*list o
item->platformApi = "AMediaCodec";
}
return NULL;
return nullptr;
}