Memory: fix percentage calculation

This commit is contained in:
李通洲 committed 2022-09-21 18:10:50 +08:00
1 parent 9da97f5860
commit 3068b5bcb2
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ void ffDetectMemoryImpl(FFMemoryResult* memory);
static void calculatePercentage(FFMemoryStorage* storage)
{
if(storage->error.length == 0)
if(storage->error.length != 0)
return;
if(storage->bytesTotal == 0)