aballier    15/02/06 14:09:08

  Added:                xmms2-0.8-ffmpeg2.patch
  Log:
  quick patch to fix build with ffmpeg2; bug #536232
  
  Signed-off-by: [email protected]
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
160F534A)

Revision  Changes    Path
1.1                  media-sound/xmms2/files/xmms2-0.8-ffmpeg2.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xmms2/files/xmms2-0.8-ffmpeg2.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/xmms2/files/xmms2-0.8-ffmpeg2.patch?rev=1.1&content-type=text/plain

Index: xmms2-0.8-ffmpeg2.patch
===================================================================
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;
 




Reply via email to