Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 19:33:38 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r432943 - in branches/2017Q1/multimedia: audacious-plugins audacious-plugins-gtk3 audacious-plugins/files
Message-ID:  <201701311933.v0VJXc7D037897@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Tue Jan 31 19:33:38 2017
New Revision: 432943
URL: https://svnweb.freebsd.org/changeset/ports/432943

Log:
  MFH: r432652
  
  - Fix memory issue with AAC plugin
  - Bump PORTREVISION
  
  Reported by:	gnn@ (private email)
  Obtained from:	Upstream repository
  
  Approved by:	portmgr (feld@)

Added:
  branches/2017Q1/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc
     - copied unchanged from r432652, head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc
Modified:
  branches/2017Q1/multimedia/audacious-plugins-gtk3/Makefile
  branches/2017Q1/multimedia/audacious-plugins/Makefile
Directory Properties:
  branches/2017Q1/   (props changed)

Modified: branches/2017Q1/multimedia/audacious-plugins-gtk3/Makefile
==============================================================================
--- branches/2017Q1/multimedia/audacious-plugins-gtk3/Makefile	Tue Jan 31 18:35:27 2017	(r432942)
+++ branches/2017Q1/multimedia/audacious-plugins-gtk3/Makefile	Tue Jan 31 19:33:38 2017	(r432943)
@@ -4,7 +4,7 @@
 PORTNAME=	audacious-plugins
 PORTVERSION=	3.8.1
 DISTVERSIONSUFFIX=	-gtk3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://distfiles.audacious-media-player.org/
 PKGNAMESUFFIX=	${DISTVERSIONSUFFIX}
@@ -25,6 +25,7 @@ CONFLICTS_INSTALL=	audacious-plugins-3.*
 
 MASTERDIR=	${.CURDIR}/../audacious-plugins
 DISTINFO_FILE=	${.CURDIR}/distinfo
+FILESDIR=	${MASTERDIR}/files
 
 GNU_CONFIGURE=	yes
 USES=		compiler:c++11-lib execinfo gettext-tools gmake iconv \

Modified: branches/2017Q1/multimedia/audacious-plugins/Makefile
==============================================================================
--- branches/2017Q1/multimedia/audacious-plugins/Makefile	Tue Jan 31 18:35:27 2017	(r432942)
+++ branches/2017Q1/multimedia/audacious-plugins/Makefile	Tue Jan 31 19:33:38 2017	(r432943)
@@ -3,7 +3,7 @@
 
 PORTNAME=	audacious-plugins
 PORTVERSION=	3.8.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://distfiles.audacious-media-player.org/
 

Copied: branches/2017Q1/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc (from r432652, head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q1/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc	Tue Jan 31 19:33:38 2017	(r432943, copy of r432652, head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc)
@@ -0,0 +1,24 @@
+--- src/ffaudio/ffaudio-core.cc.orig	2016-12-06 14:15:33 UTC
++++ src/ffaudio/ffaudio-core.cc
+@@ -99,7 +99,8 @@ struct ScopedContext
+ 
+ struct ScopedPacket : public AVPacket
+ {
+-    ScopedPacket () { av_init_packet (this); }
++    ScopedPacket () : AVPacket ()
++        { av_init_packet (this); }
+ 
+ #if CHECK_LIBAVCODEC_VERSION (55, 25, 100, 55, 16, 0)
+     ~ScopedPacket () { av_packet_unref (this); }
+@@ -553,8 +554,10 @@ bool FFaudio::play (const char * filenam
+         /* On EOF, send an empty packet to "flush" the decoder */
+         /* Otherwise, make a mutable (shallow) copy of the real packet */
+         AVPacket tmp;
+-        if (eof)
++        if (eof) {
++            tmp = AVPacket ();
+             av_init_packet (& tmp);
++        }
+         else
+             tmp = pkt;
+ 



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