pantry/projects/github.com/libass/libass/test.cpp
Joe DeCapo 30f93c02e5
+libass (#1855)
* +libass

* Fix formatting
2023-05-06 17:15:59 -04:00

21 lines
442 B
C++

#include "ass/ass.h"
int main() {
ASS_Library *library;
ASS_Renderer *renderer;
library = ass_library_init();
if (library) {
renderer = ass_renderer_init(library);
if (renderer) {
ass_renderer_done(renderer);
ass_library_done(library);
return 0;
} else {
ass_library_done(library);
return 1;
}
} else {
return 1;
}
}