From 68571a2bcecd753463822818f9453b90d62e8d86 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 1 Sep 2018 21:44:54 +0200 Subject: [PATCH] Fix a deprecation warning. --- main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2