summarylogtreecommitdiffstats
path: root/fix-ffmpeg5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-ffmpeg5.patch')
-rw-r--r--fix-ffmpeg5.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fix-ffmpeg5.patch b/fix-ffmpeg5.patch
new file mode 100644
index 000000000000..7c76de973857
--- /dev/null
+++ b/fix-ffmpeg5.patch
@@ -0,0 +1,12 @@
+diff '--color=auto' -ruN a/src/framedecoder.h b/src/framedecoder.h
+--- a/src/framedecoder.h 2022-02-20 11:54:23.310053258 +0100
++++ b/src/framedecoder.h 2022-02-20 11:54:57.699478126 +0100
+@@ -55,7 +55,7 @@
+ int m_VideoStream;
+ AVFormatContext* m_pFormatContext;
+ AVCodecContext* m_pVideoCodecContext;
+- AVCodec* m_pVideoCodec;
++ const AVCodec* m_pVideoCodec;
+ AVStream* m_pVideoStream;
+ AVFrame* m_pFrame;
+ quint8* m_pFrameBuffer;