]> git.sesse.net Git - nageru/commitdiff
Fix a deprecation warning.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 1 Sep 2018 19:44:54 +0000 (21:44 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 1 Sep 2018 19:44:54 +0000 (21:44 +0200)
main.cpp

index 745fb86f797f6b450f1bcc86220bdc1c8527defa..c1a52c0489a6d7b4e9054da338635290846cf1cb 100644 (file)
--- 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);