Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 16:52:53 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331613 - head/audio/xmms2/files
Message-ID:  <201310251652.r9PGqrK2043983@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310251652.r9PGqrK2043983>