summarylogtreecommitdiffstats
path: root/ffmpeg5.patch
diff options
context:
space:
mode:
authorAdriĆ  Arrufat2022-05-30 23:36:30 +0900
committerAdriĆ  Arrufat2022-05-30 23:36:30 +0900
commit12410a74906612e7efc0ec8fbce739b4a0fef7e7 (patch)
tree6d74acb1e92d75f9b1e8d43dc60426c3d4121934 /ffmpeg5.patch
parent568274ba21a796c514635d54bbdd69b84b302969 (diff)
downloadaur-kid3-cli.tar.gz
Update to v3.9.1
Diffstat (limited to 'ffmpeg5.patch')
-rw-r--r--ffmpeg5.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ffmpeg5.patch b/ffmpeg5.patch
new file mode 100644
index 000000000000..341e64afa9fa
--- /dev/null
+++ b/ffmpeg5.patch
@@ -0,0 +1,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;
+ };