fix libavif,libbluray,libbrotli and add a tad more security #2529
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To get it to build static x64 only (without vulkan) I had to do a few patches per this pull (libavif,libbluray,brotli) :
...
and then disable vulkan and libplacebo in ffmpeg_options.txt.
I couldnt find a way to disable vulkan/libplacebo in the initial questions/answers first run, so I started it and let it go down to the point where it told me I could edit ffmpeg_options.txt whereupon I did and changed these:
to
(they may not have been commented out, if they were I removed the leading #)
If I saw it right, some things had a bit of a dependency on vulkan so they had to be disabled.
The --disable-libopenh264 was added later because I guess I did something wrong - when I ran ffmpeg it would not run and kept prompting me saying it could not find libopenh264.dll :(
No doubt the author and other good people will do much better fixes and whatnot, these are just a few hacks which worked for me for now for a static x64 build.