[k3b] [Bug 485432] New: Fail to build with ffmpeg 7
bugzilla_noreply at kde.org
bugzilla_noreply at kde.org
Fri Apr 12 13:58:21 BST 2024
https://bugs.kde.org/show_bug.cgi?id=485432
Bug ID: 485432
Summary: Fail to build with ffmpeg 7
Classification: Applications
Product: k3b
Version: 24.02.2
Platform: Debian unstable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: k3b at kde.org
Reporter: marillat at deb-multimedia.org
CC: michalm at jabster.pl, trueg at kde.org
Target Milestone: ---
Hi,
With ffmpeg 7 k3b fail to build with these errors
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In
member function ‘bool K3bFFMpegFile::open()’:
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:143:26:
error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named
‘channels’
143 | d->codecContext->channels > 1;
| ^~~~~~~~
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In
member function ‘void K3bFFMpegFile::close()’:
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:159:24:
warning: ‘int avcodec_close(AVCodecContext*)’ is deprecated
[-Wdeprecated-declarations]
159 | ::avcodec_close(d->codecContext);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:19:
/usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:2387:5: note: declared here
2387 | int avcodec_close(AVCodecContext *avctx);
| ^~~~~~~~~~~~~
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp: In
member function ‘int K3bFFMpegFile::channels() const’:
/home/marillat/src/k3b-24.02.2/plugins/decoder/ffmpeg/k3bffmpegwrapper.cpp:188:29:
error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named
‘channels’
188 | return d->codecContext->channels;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the k3b
mailing list