X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=main.cpp;h=c1a52c0489a6d7b4e9054da338635290846cf1cb;hb=6ffaabac0a523617b686f40c154a25cb548cc561;hp=745fb86f797f6b450f1bcc86220bdc1c8527defa;hpb=45df960fe0d2f60194ffd9f4c77fae426f63db2d;p=nageru diff --git a/main.cpp b/main.cpp index 745fb86..c1a52c0 100644 --- a/main.cpp +++ b/main.cpp @@ -71,7 +71,9 @@ int main(int argc, char *argv[]) using_egl = true; } setlinebuf(stdout); +#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); +#endif QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);