Media (macOS): try fixing error CFStringGetCString() failed

This commit is contained in:
李通洲
2024-11-12 21:52:12 +08:00
parent 748b7df0d7
commit e618303343
2 changed files with 15 additions and 5 deletions
+3
View File
@@ -381,6 +381,9 @@ int main(void)
ffStrbufEnsureFixedLengthFree(&strbuf, 10);
VERIFY(strbuf.length == 0);
VERIFY(strbuf.allocated == 11);
ffStrbufEnsureFixedLengthFree(&strbuf, 12);
VERIFY(strbuf.length == 0);
VERIFY(strbuf.allocated == 13);
ffStrbufDestroy(&strbuf);
//ffStrbufEnsureFixedLengthFree / empty buffer with zero free length