From 9524a4055a36abc062ec5782fab4f3e3d9431ac1 Mon Sep 17 00:00:00 2001 From: Alan Man Date: Wed, 9 Nov 2022 00:34:07 +0800 Subject: [PATCH] Omit deprecated avcodec registration method --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 9107000..e4ecb06 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -55,7 +55,8 @@ int convert(const string& inputFilename, Opts& options) uint32_t gridItemId = gridItems.at(0); VIPS_INIT("tifig"); - avcodec_register_all(); + // deprecated since ffmpeg 4 + /* avcodec_register_all(); */ chrono::steady_clock::time_point begin_encode = chrono::steady_clock::now();