Skip to content

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

Open
hughmcmaster wants to merge 1 commit into
Moonbase59:masterfrom
hughmcmaster:deprecated
Open

Only call av_register_all() if libavformat is older than version 58.9.100#50
hughmcmaster wants to merge 1 commit into
Moonbase59:masterfrom
hughmcmaster:deprecated

Conversation

@hughmcmaster
Copy link
Copy Markdown

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
Copy Markdown

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