Open mundschenk-at opened 2 years ago
The libavformat function av_register_all
was removed in ffmpeg 5.0.
The patch in PR https://github.com/Moonbase59/loudgain/pull/50 will help.
You can also just remove the following lines from src/scan.c
since you're linking against libraries provided by ffmpeg 5.0.
if (avformat_version() < AV_VERSION_INT(58,9,100))
av_register_all();
Thank you, I'll see if I can fit that into the Homebrew workflow.
As a workaround, I forked the tap repo and changed the ffmpeg dependency to ffmpeg@4 (see here).
One can now install loudgain using brew install marvin-klein/tap/loudgain
.
Please add this to the repo. I can confirm that this builds a binary if these 2 lines in scan.c are removed.
Apparently the previously deprecated symbol
av_register_all
has been removed upstream, so the build now fails: