aboutsummaryrefslogtreecommitdiffstats
path: root/community/moc/ffmpeg-3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/moc/ffmpeg-3.patch')
-rw-r--r--community/moc/ffmpeg-3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/moc/ffmpeg-3.patch b/community/moc/ffmpeg-3.patch
new file mode 100644
index 000000000..f6d322544
--- /dev/null
+++ b/community/moc/ffmpeg-3.patch
@@ -0,0 +1,14 @@
+diff --git a/decoder_plugins/ffmpeg/ffmpeg.c b/decoder_plugins/ffmpeg/ffmpeg.c
+index 206b2b1..6af6759 100644
+--- a/decoder_plugins/ffmpeg/ffmpeg.c
++++ b/decoder_plugins/ffmpeg/ffmpeg.c
+@@ -66,9 +66,6 @@ GCC_DIAG_OFF(deprecated-declarations)
+ #include <libavformat/avformat.h>
+ GCC_DIAG_ON(deprecated-declarations)
+ #include <libavutil/mathematics.h>
+-#ifdef HAVE_AV_GET_CHANNEL_LAYOUT_NB_CHANNELS
+-#include <libavutil/audioconvert.h>
+-#endif
+ #else
+ #include <ffmpeg/avformat.h>
+ #endif