You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build fails against FFmpeg 4.4.2+; cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *' | Depreciated function removal
#72
Open
EndlessEden opened this issue
Nov 12, 2021
· 4 comments
Attempting to build against FFmpeg (4.4.1-9fd2b39428) fails.
In member function ‘virtual int32_t webrtc::H264DecoderImpl::InitDecode(const webrtc::VideoCodec*, int32_t)’:
src/modules/video_coding/codecs/h264/h264_decoder_impl.cc:205:40: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
The text was updated successfully, but these errors were encountered:
EndlessEden
changed the title
Build fails against FFmpeg 4.4.1-g9fd2b39428; cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *'
Build fails against FFmpeg 4.4.1-9fd2b39428; cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *'
Nov 12, 2021
I have no problem with 4.4 release version of ffmpeg, the commit you provided is on master
EndlessEden
changed the title
Build fails against FFmpeg 4.4.1-9fd2b39428; cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *'
Build fails against FFmpeg 4.4.2+; cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *' | Depreciated function removal
Dec 14, 2021
Yes, im using master, the depreciated api calls that were depreciated back in ffmpeg-3.1 are being removed in the next release (coming afaik in Q1-2022, so rather soon).
My projects that rely on tg_owt will be non-functional soon, and i submitted this bug request pre-emptively before the release.
None of the issues this bug request is relative to unstable api changes in 4.4.2+, but rather depreciation from 3.1-4.0 that are now officially removed for next version.
Well, no development happens in this repo, this repo provides cmake files for the Google WebRTC library. If your bug is related to the code, you should report it upstream, not here.
Attempting to build against FFmpeg (4.4.1-9fd2b39428) fails.
In member function ‘virtual int32_t webrtc::H264DecoderImpl::InitDecode(const webrtc::VideoCodec*, int32_t)’:
src/modules/video_coding/codecs/h264/h264_decoder_impl.cc:205:40: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
The text was updated successfully, but these errors were encountered: