Global: major FFstrbuf related code refactor

This commit is contained in:
李通洲
2023-04-15 15:29:54 +08:00
parent 2df1305521
commit c7119498a3
76 changed files with 274 additions and 537 deletions
+1 -4
View File
@@ -17,8 +17,7 @@ void ffPrintPlayer(FFinstance* instance)
return;
}
FFstrbuf playerPretty;
ffStrbufInit(&playerPretty);
FF_STRBUF_AUTO_DESTROY playerPretty = ffStrbufCreate();
//If we are on a website, prepend the website name
if(
@@ -70,6 +69,4 @@ void ffPrintPlayer(FFinstance* instance)
{FF_FORMAT_ARG_TYPE_STRBUF, &media->url}
});
}
ffStrbufDestroy(&playerPretty);
}