From: Steinar H. Gunderson Date: Sat, 1 Sep 2018 19:50:20 +0000 (+0200) Subject: Fix another deprecation warning. X-Git-Tag: 1.7.5~8 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1f01c91a0633e51cc408d8153fdab8413bec9363;p=nageru Fix another deprecation warning. --- diff --git a/kaeru.cpp b/kaeru.cpp index 4ae8b13..10f1e93 100644 --- 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;