aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-10-26 00:52:53 +0800
committerwg <wg@FreeBSD.org>2013-10-26 00:52:53 +0800
commit26402c9685285b62ed4424c15285bddb9679ec79 (patch)
tree041bf693686e059f3593e7703826e165d445f19e /audio
parentf850691edda8ba1371cdb987d7abfaaad369da06 (diff)
downloadfreebsd-ports-gnome-26402c9685285b62ed4424c15285bddb9679ec79.tar.gz
freebsd-ports-gnome-26402c9685285b62ed4424c15285bddb9679ec79.tar.zst
freebsd-ports-gnome-26402c9685285b62ed4424c15285bddb9679ec79.zip
audio/xmms2: fix build with newer ffmpeg
- Fix build with newer ffmpeg Reported by: Wolfgang Riegler <wolfgang.riegler gmx.de> Approved by: maintainer
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c b/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c
new file mode 100644
index 000000000000..13988ff5a6c4
--- /dev/null
+++ b/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c
@@ -0,0 +1,13 @@
+--- src/plugins/avcodec/avcodec.c.orig 2013-10-25 14:04:33.493859184 -0200
++++ src/plugins/avcodec/avcodec.c 2013-10-25 14:08:39.342858585 -0200
+@@ -28,6 +28,10 @@
+
+ #define AVCODEC_BUFFER_SIZE 16384
+
++#ifndef AVCODEC_MAX_AUDIO_FRAME_SIZE
++#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32bit audio
++#endif
++
+ typedef struct {
+ AVCodecContext *codecctx;
+