Skip to content
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

Fix deprecation warning from new ffmpeg #416

Merged
merged 1 commit into from
Aug 10, 2022

Conversation

mjcarroll
Copy link
Contributor

Closes #415

This bit of code is already protected by LIBAVFORMAT_VERSION_MAJOR >= 59, which had the ch_layout.nb_channels that is recommended to be used by their API: https:/FFmpeg/FFmpeg/blob/d931554f668186729bf290ed9afa6e9a4417328b/libavcodec/avcodec.h#L1009-L1016

Signed-off-by: Michael Carroll [email protected]

@github-actions github-actions bot added the 🌱 garden Ignition Garden label Aug 10, 2022
Closes #415

Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll mjcarroll added the bug Something isn't working label Aug 10, 2022
@mjcarroll mjcarroll linked an issue Aug 10, 2022 that may be closed by this pull request
@mjcarroll mjcarroll self-assigned this Aug 10, 2022
@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #416 (19b0b29) into gz-common5 (a27c7a1) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           gz-common5     #416   +/-   ##
===========================================
  Coverage       80.38%   80.38%           
===========================================
  Files              85       85           
  Lines            9944     9944           
===========================================
  Hits             7993     7993           
  Misses           1951     1951           
Impacted Files Coverage Δ
av/src/AudioDecoder.cc 83.33% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mjcarroll mjcarroll merged commit 5d576ba into gz-common5 Aug 10, 2022
@mjcarroll mjcarroll deleted the mjcarroll/fix_av_deprecation branch August 10, 2022 03:30
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 🌱 garden Ignition Garden
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Deprecation Warning in AudioDecoder.cc
2 participants