From fca806e0954b43cfb2a6b21e66cc9286b713b6a2 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 9 Aug 2018 18:18:22 +0200 Subject: [PATCH] Do not call deprecated av_register_all() av_register_all() is deprecated in FFmpeg since this commit: It is now useless to call it: Fixes . --- app/src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main.c b/app/src/main.c index 7e13a028..4e4de808 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -274,7 +274,9 @@ int main(int argc, char *argv[]) { return 0; } +#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100) av_register_all(); +#endif if (avformat_network_init()) { return 1;