From ebae25d175eb31fbbadf8b0b2d079915ad40396d Mon Sep 17 00:00:00 2001 From: nick black Date: Mon, 28 Feb 2022 01:46:00 -0500 Subject: [PATCH] plugins/FfmpegIO: include libavutil/mem.h ffmpeg from current git master no longer exposes av_malloc() nor av_free() through other included headers. directly include libavutil/mem.h to fix compilation with (as-yet-unreleased) ffmpeg. --- src/decoder/plugins/FfmpegIo.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/decoder/plugins/FfmpegIo.cxx b/src/decoder/plugins/FfmpegIo.cxx index 9ce80f4b7..2e22d9599 100644 --- a/src/decoder/plugins/FfmpegIo.cxx +++ b/src/decoder/plugins/FfmpegIo.cxx @@ -21,6 +21,7 @@ #define __STDC_CONSTANT_MACROS #include "FfmpegIo.hxx" +#include "libavutil/mem.h" #include "../DecoderAPI.hxx" #include "input/InputStream.hxx"