Skip to content

Commit

Permalink
Omit deprecated avcodec registration method
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazz Lau committed Nov 8, 2022
1 parent 60b920c commit 3259a75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 3259a75

Please sign in to comment.