summaryrefslogtreecommitdiff
path: root/package/mpd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-10 11:08:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-10 11:08:54 +0200
commit0e2fac2e29a8efb2f0cbdf90c56136a88eae57a0 (patch)
tree80499b2dc11ad10ef963ff369e1d4897946fefc7 /package/mpd
parente99d1f38b6afb63d16464452d8c65258cbdc66aa (diff)
fix compile with latest ffmpeg
Diffstat (limited to 'package/mpd')
-rw-r--r--package/mpd/Makefile2
-rw-r--r--package/mpd/patches/patch-src_decoder_ffmpeg_decoder_plugin_c11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/mpd/Makefile b/package/mpd/Makefile
index d76fd684c..e1e4cad3c 100644
--- a/package/mpd/Makefile
+++ b/package/mpd/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= mpd
PKG_VERSION:= 0.17.4
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= ab408a61f49f215ce77ed0cf1deed6e1
PKG_DESCR:= A music player daemon
PKG_SECTION:= multimedia
diff --git a/package/mpd/patches/patch-src_decoder_ffmpeg_decoder_plugin_c b/package/mpd/patches/patch-src_decoder_ffmpeg_decoder_plugin_c
new file mode 100644
index 000000000..0114216ad
--- /dev/null
+++ b/package/mpd/patches/patch-src_decoder_ffmpeg_decoder_plugin_c
@@ -0,0 +1,11 @@
+--- mpd-0.17.4.orig/src/decoder/ffmpeg_decoder_plugin.c 2013-04-08 20:01:53.000000000 +0200
++++ mpd-0.17.4/src/decoder/ffmpeg_decoder_plugin.c 2013-07-10 11:02:20.000000000 +0200
+@@ -44,6 +44,8 @@
+ #include <libavutil/dict.h>
+ #endif
+
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000
++
+ #undef G_LOG_DOMAIN
+ #define G_LOG_DOMAIN "ffmpeg"
+