Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Fix a huge number of warnings #893

Merged
merged 15 commits into from
Aug 30, 2022
Merged

Fix a huge number of warnings #893

merged 15 commits into from
Aug 30, 2022

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Aug 27, 2022

Explain the Pull Request

Completion Checklist

  • I have added myself to the Copyright and License headers and files.
  • I will maintain this code in the future and have added myself to CODEOWNERS.
  • I have tested this change on the following platforms:
    • MacOS 10.15
    • MacOS 11
    • MacOS 12
    • Ubuntu 20.04
    • Ubuntu 22.04
    • Windows 10
    • Windows 11

@Xaymar Xaymar force-pushed the patch/warnings branch 9 times, most recently from 54d7540 to 04603d5 Compare August 29, 2022 11:54
These warnings are mostly hints or complete nonsense based on broken parsing. It is easier to disable them than to find a common solution that works on all compilers.
This breaks MSVC and results in leaked exceptions.
This removes the Matroska fix for ProRes content, and upgrades from av_init_packet to av_packet_alloc.
@Xaymar Xaymar force-pushed the patch/warnings branch 4 times, most recently from ab98008 to 469e53e Compare August 30, 2022 10:33
It is not valid to pass std::string_view to snprintf's %s.
The compiler will choose the optimal way automatically, and forcing std::move here actually results in two objects existing side by side, before being "moved" into one.
May need to find a better solution such as disabling all warnings on third party code.
Prevents some out-of-order events from occurring.
@Xaymar Xaymar marked this pull request as ready for review August 30, 2022 17:58
@Xaymar Xaymar merged commit 1bf1ae1 into master Aug 30, 2022
@Xaymar Xaymar deleted the patch/warnings branch August 30, 2022 17:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant