-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
miscellaneous cosmetic fixes #12438
miscellaneous cosmetic fixes #12438
Conversation
What does forward-declaring mp_log accomplish, exactly? |
"Declaration of [...] will not be visible outside of this function" is the clang warning, I think this is purely cosmetic since mp_log ends up being included anyway. |
PR title is misleading, changing integer division to floating point division is NOT a cosmetic change. The integer truncation (i.e., rounding down) may have been an intentional feature of the original code. |
I'll drop the integer division changes for now and thoroughly test if they were intended or not. I'm pretty sure the sub one at least is a bug fix, but I'll do it in another PR later. |
Also improve comment about the assumed PlayResX and PlayResY
Mostly cosmetic
Mostly to silence clangd, but the sd_ass integer division is actually a bug fix for subtitles with unknown durations