aboutsummaryrefslogtreecommitdiffstats
path: root/main/moc/ffmpeg-3.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-29 16:16:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-31 12:48:15 +0000
commit60a6f8ab71d314046189830d011bf6c3b78db322 (patch)
tree5cd5b32028f9294d2590dc2f8b6e7e93b5b53326 /main/moc/ffmpeg-3.patch
parent8cd583453648f2731f4ebb37e1a1357d6d25082c (diff)
downloadaports-60a6f8ab71d314046189830d011bf6c3b78db322.tar.gz
aports-60a6f8ab71d314046189830d011bf6c3b78db322.tar.bz2
aports-60a6f8ab71d314046189830d011bf6c3b78db322.tar.xz
main/moc: rebuild against ffmpeg-3.0
Diffstat (limited to 'main/moc/ffmpeg-3.patch')
-rw-r--r--main/moc/ffmpeg-3.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/main/moc/ffmpeg-3.patch b/main/moc/ffmpeg-3.patch
new file mode 100644
index 0000000000..f6d3225444
--- /dev/null
+++ b/main/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