14 lines
385 B
Diff
14 lines
385 B
Diff
diff --git a/src/decoder/plugins/FfmpegIo.cxx b/src/decoder/plugins/FfmpegIo.cxx
|
|
index 5b5c8b40e3..3c3323ce8a 100644
|
|
--- a/src/decoder/plugins/FfmpegIo.cxx
|
|
+++ b/src/decoder/plugins/FfmpegIo.cxx
|
|
@@ -26,6 +26,9 @@
|
|
|
|
extern "C" {
|
|
#include <libavutil/mem.h>
|
|
+#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(58, 29, 100)
|
|
+#include <libavutil/error.h>
|
|
+#endif
|
|
}
|
|
|
|
AvioStream::~AvioStream()
|