Bug#1077504: casparcg-server FTBFS with ffmpeg 7
Source: casparcg-server
Version: 2.3.3+dfsg-3.2
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=casparcg-server&ver=2.3.3%2Bdfsg-3.2%2Bb2
...
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp: In lambda function:
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:176:18: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
176 | dst->channels = 2;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:177:18: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
177 | dst->channel_layout = av_get_default_channel_layout(dst->channels);
| ^~~~~~~~~~~~~~
| ch_layout
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:177:70: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
177 | dst->channel_layout = av_get_default_channel_layout(dst->channels);
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:177:35: error: ‘av_get_default_channel_layout’ was not declared in this scope
177 | dst->channel_layout = av_get_default_channel_layout(dst->channels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:204:18: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
204 | src->channels = format_desc_.audio_channels;
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:205:18: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channel_layout’; did you mean ‘ch_layout’?
205 | src->channel_layout = av_get_default_channel_layout(src->channels);
| ^~~~~~~~~~~~~~
| ch_layout
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:205:70: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
205 | src->channel_layout = av_get_default_channel_layout(src->channels);
| ^~~~~~~~
/<<PKGBUILDDIR>>/src/modules/oal/consumer/oal_consumer.cpp:206:85: error: ‘using std::__shared_ptr_access<AVFrame, __gnu_cxx::_S_atomic, false, false>::element_type = struct AVFrame’ {aka ‘struct AVFrame’} has no member named ‘channels’
206 | src->nb_samples = static_cast<int>(frame.audio_data().size() / src->channels);
| ^~~~~~~~
make[3]: *** [modules/oal/CMakeFiles/oal.dir/build.make:79: modules/oal/CMakeFiles/oal.dir/consumer/oal_consumer.cpp.o] Error 1
Reply to: