blob: 341e64afa9fae989dc378a5e1cab452eb44d7c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/src/plugins/acoustidimport/ffmpegfingerprintdecoder.cpp b/src/plugins/acoustidimport/ffmpegfingerprintdecoder.cpp
index e156d424..e12b9abd 100644
--- a/src/plugins/acoustidimport/ffmpegfingerprintdecoder.cpp
+++ b/src/plugins/acoustidimport/ffmpegfingerprintdecoder.cpp
@@ -232,7 +232,11 @@ private:
friend class Format;
friend class Converter;
AVCodecContext* m_ptr;
+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59, 0, 0)
AVCodec* m_impl;
+#else
+ const AVCodec* m_impl;
+#endif
AVFrame* m_frame;
bool m_opened;
};
|