Skip to content

Commit 9524a40

Browse files
committed
Omit deprecated avcodec registration method
1 parent 60b920c commit 9524a40

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ int convert(const string& inputFilename, Opts& options)
5555
uint32_t gridItemId = gridItems.at(0);
5656

5757
VIPS_INIT("tifig");
58-
avcodec_register_all();
58+
// deprecated since ffmpeg 4
59+
/* avcodec_register_all(); */
5960

6061
chrono::steady_clock::time_point begin_encode = chrono::steady_clock::now();
6162

0 commit comments

Comments
 (0)