diff options
author | wg <wg@FreeBSD.org> | 2013-10-26 00:52:53 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2013-10-26 00:52:53 +0800 |
commit | 26402c9685285b62ed4424c15285bddb9679ec79 (patch) | |
tree | 041bf693686e059f3593e7703826e165d445f19e /audio | |
parent | f850691edda8ba1371cdb987d7abfaaad369da06 (diff) | |
download | freebsd-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.c | 13 |
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; + |