X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=kaeru.cpp;h=10f1e9394b2a5c0ddab4e42a226b0ff7af4ccc73;hb=6ffaabac0a523617b686f40c154a25cb548cc561;hp=11fea00c91842cb3be956b225c414cc71491dacb;hpb=96f6e59db1abed18b9fbf64b88c0cf37aafe5e2e;p=nageru diff --git a/kaeru.cpp b/kaeru.cpp index 11fea00..10f1e93 100644 --- a/kaeru.cpp +++ b/kaeru.cpp @@ -1,5 +1,4 @@ // Kaeru (換える), a simple transcoder intended for use with Nageru. -// This is experimental code, not yet supported. #include "audio_encoder.h" #include "basic_stats.h" @@ -172,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;