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-b...@kde.org Reporter: eenov1...@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 watching all bug changes.