[kdemultimedia] [Bug 445397] New: Incompatibility with FFMPEG >=4.2.x: av_find_best_stream now uses a const AVCodec ** parameter (46dac8cf3d) | Invalid conversion from 'const AVCodec*' to 'AVCodec*'
EndlessEden
bugzilla_noreply at kde.org
Fri Nov 12 21:12:19 GMT 2021
https://bugs.kde.org/show_bug.cgi?id=445397
Bug ID: 445397
Summary: Incompatibility with FFMPEG >=4.2.x:
av_find_best_stream now uses a const AVCodec **
parameter (46dac8cf3d) | Invalid conversion from
'const AVCodec*' to 'AVCodec*'
Product: kdemultimedia
Version: unspecified
Platform: Compiled Sources
OS: All
Status: REPORTED
Severity: critical
Priority: NOR
Component: ffmpegthumbs
Assignee: unassigned-bugs at kde.org
Reporter: eenov1988 at gmail.com
Target Milestone: ---
SUMMARY
starting with ffmpeg version 4.3, changes to libavformat/libavcodec break
building against these versions.
Currently when attempting to build against these versions, it fails with "no
matching function for call to 'av_find_best_stream'"
'av_find_best_stream' is specified in <libavformat/avformat.h>; however this
header is not included in ffmpegthumbnailer/moviedecoder.cpp
if the header is added [#include <libavformat/avformat.h>], and rebuilt it
results in a new error " error: invalid conversion from ‘AVCodec**’ to ‘const
AVCodec**’"
This build error ive seen in other projects (decord): (See:
https://github.com/dmlc/decord/pull/160)
ADDITIONAL INFORMATION
build environment:
OS: Linux(Archlinux)
FFmpeg Version: git(master - 104497-g9fd2b39428)
C/CXX Compiler Version: gcc - 11.1.0
QT-Version: 5.15.2+kde+r254 (archlinux packaging)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list