浏览代码

fix compile with latest ffmpeg

Waldemar Brodkorb 12 年之前
父节点
当前提交
0e2fac2e29
共有 2 个文件被更改,包括 12 次插入1 次删除
  1. 1 1
      package/mpd/Makefile
  2. 11 0
      package/mpd/patches/patch-src_decoder_ffmpeg_decoder_plugin_c

+ 1 - 1
package/mpd/Makefile

@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
 
 
 PKG_NAME:=		mpd
 PKG_NAME:=		mpd
 PKG_VERSION:=		0.17.4
 PKG_VERSION:=		0.17.4
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_MD5SUM:=		ab408a61f49f215ce77ed0cf1deed6e1
 PKG_MD5SUM:=		ab408a61f49f215ce77ed0cf1deed6e1
 PKG_DESCR:=		A music player daemon
 PKG_DESCR:=		A music player daemon
 PKG_SECTION:=		multimedia
 PKG_SECTION:=		multimedia

+ 11 - 0
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"
+