summaryrefslogtreecommitdiff
path: root/media-sound/xmms2/files/xmms2-0.8-ffmpeg2.patch
blob: 2e9fac380ea0063b721653c8c77f8f6784483e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: xmms2-0.8DrO_o/src/plugins/avcodec/avcodec.c
===================================================================
--- xmms2-0.8DrO_o.orig/src/plugins/avcodec/avcodec.c
+++ xmms2-0.8DrO_o/src/plugins/avcodec/avcodec.c
@@ -29,6 +29,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;