From: Steinar H. Gunderson Date: Sat, 1 Sep 2018 19:44:54 +0000 (+0200) Subject: Fix a deprecation warning. X-Git-Tag: 1.7.5~10 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=68571a2bcecd753463822818f9453b90d62e8d86;p=nageru Fix a deprecation warning. --- 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);