Skip to content

Conversation

scotts
Copy link
Contributor

@scotts scotts commented Mar 4, 2025

In VideoDecoder.cpp, we've consolidate on ffmpegStatus as the int return variable from all FFMpeg calls. Using the same variable name everywhere is good, but I find the length of the name interferes with my own reading of the most important part of the statements, which is the actual call to the FFMpeg function.

This PR changes the name to status, as I find that easier to read. Let the bikeshedding commence. :)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 4, 2025
@scotts scotts marked this pull request as ready for review March 4, 2025 17:01
Copy link
Contributor

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As much as I love to bikeshed, I'm afraid I like the proposed changes as-is. Sorry.

@scotts scotts merged commit da9164e into meta-pytorch:main Mar 4, 2025
46 checks passed
@scotts scotts deleted the refactor_status branch March 4, 2025 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants