-
Notifications
You must be signed in to change notification settings - Fork 7k
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
addressing #3805: remove deprecated function call 3 #3861
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@@ -7,13 +7,13 @@ namespace ffmpeg { | |||
|
|||
namespace { | |||
bool operator==(const AudioFormat& x, const AVFrame& y) { | |||
return x.samples == y.sample_rate && x.channels == y.channels && | |||
return static_cast<int>(x.samples) == y.sample_rate && static_cast<int>(x.channels) == y.channels && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line causes clang_format error: https://app.circleci.com/pipelines/github/pytorch/vision/8395/workflows/8f202b72-937b-4c98-b642-1e679e41b5c7/jobs/604228, could you fix that please?
This reverts commit f6b6b51.
Re: #3805
split in multiple PRs to make assesing FBCode compatibility easier for @prabhat00155
This should cover most warnings that are one liners and shouldn't change the code's behaviour.