Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only call av_register_all() if libavformat is older than version 58.9.100 #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hughmcmaster
Copy link

This patch adds a preprocessor #define to ensure we only call the deprecated function av_register_all() when working with versions of libavformat older than 58.9.100.

The function av_register_all() was removed in ffmpeg 5.0.

@leigh123linux
Copy link

Wouldn't it be easier to fix the broken check?

https://pkgs.rpmfusion.org/cgit/free/loudgain.git/plain/fix_ffmpeg5.patch

This function is deprecated.

Thanks to Leigh Scott for suggesting this patch.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants