Commit 59792cb0 authored by Max Kellermann's avatar Max Kellermann

decoder/ffmpeg: wrap FFmpeg include in "extern C"

Commit ebae25d1 added that #include, but forgot to wrap it in "extern C", so the linker tried to look up C++ symbols, causing linker failure. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1582
parent cc557c4d
ver 0.23.9 (not yet released)
* decoder
- ffmpeg: support FFmpeg 5.1
* output
- pipewire: set app icon
* improve iconv detection
......
......@@ -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 <libavutil/mem.h>
}
AvioStream::~AvioStream()
{
if (io != nullptr) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment