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

index 4ae8b137c75d94ba132c419d80a8a4241395dc74..10f1e9394b2a5c0ddab4e42a226b0ff7af4ccc73 100644 (file)
--- a/kaeru.cpp
+++ b/kaeru.cpp
@@ -171,7 +171,9 @@ int main(int argc, char *argv[])
        }
        global_flags.num_cards = 1;  // For latency metrics.
 
+#if LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(58, 9, 100)
        av_register_all();
+#endif
        avformat_network_init();
 
        HTTPD httpd;