On Mon, Feb 28, 2022 at 2:46 AM Ian McInerney via devel
<devel(a)lists.fedoraproject.org> wrote:
1) How are these removed codecs handled in the library? Can we link
an upstream application against FFMPEG in Fedora now and have it gracefully fail when it
tries to access a non-free codec that was removed, or does the removal of these codecs
create a different API that upstream applications would have to code around? e.g. does it
mean they have to add conditional compilation for the specific codecs they need to use
from FFMPEG instead of just around FFMPEG itself?
If an app uses the approved API, it will request the library
to return the codec refs (avcodec_find_decoder_by_name
for example), and if the codec is not found the library should
report the failure.
Some apps may be using different approaches (for
various reasons some apps have sometimes chosen
to access internal functions directly), and may need
to change.
And, of course, if the app requires one of the IP
encumbered codecs that have been removed,
that app is not going to work with the Fedora
libraries.