diff --git a/NEWS b/NEWS index 76fe8a886..704af63c1 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.23.9 (not yet released) +* decoder + - ffmpeg: support FFmpeg 5.1 * output - pipewire: set app icon * improve iconv detection diff --git a/src/decoder/plugins/FfmpegIo.cxx b/src/decoder/plugins/FfmpegIo.cxx index 2e22d9599..5b5c8b40e 100644 --- a/src/decoder/plugins/FfmpegIo.cxx +++ b/src/decoder/plugins/FfmpegIo.cxx @@ -21,10 +21,13 @@ #define __STDC_CONSTANT_MACROS #include "FfmpegIo.hxx" -#include "libavutil/mem.h" #include "../DecoderAPI.hxx" #include "input/InputStream.hxx" +extern "C" { +#include +} + AvioStream::~AvioStream() { if (io != nullptr) {