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