svn commit: r331613 - head/audio/xmms2/files

William Grzybowski wg at FreeBSD.org
Fri Oct 25 16:52:54 UTC 2013


Author: wg
Date: Fri Oct 25 16:52:53 2013
New Revision: 331613
URL: http://svnweb.freebsd.org/changeset/ports/331613

Log:
  audio/xmms2: fix build with newer ffmpeg
  
  - Fix build with newer ffmpeg
  
  Reported by:	Wolfgang Riegler <wolfgang.riegler gmx.de>
  Approved by:	maintainer

Added:
  head/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c   (contents, props changed)

Added: head/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/xmms2/files/patch-src_plugins_avcodec_avcodec.c	Fri Oct 25 16:52:53 2013	(r331613)
@@ -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;
+ 


More information about the svn-ports-all mailing list