mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
30f93c02e5
* +libass * Fix formatting
21 lines
442 B
C++
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;
|
|
}
|
|
}
|