Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2017 20:50:43 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r432652 - in head/multimedia: audacious-plugins audacious-plugins-gtk3 audacious-plugins/files
Message-ID:  <201701282050.v0SKohSs074549@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Sat Jan 28 20:50:43 2017
New Revision: 432652
URL: https://svnweb.freebsd.org/changeset/ports/432652

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

Added:
  head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc   (contents, props changed)
Modified:
  head/multimedia/audacious-plugins-gtk3/Makefile
  head/multimedia/audacious-plugins/Makefile

Modified: head/multimedia/audacious-plugins-gtk3/Makefile
==============================================================================
--- head/multimedia/audacious-plugins-gtk3/Makefile	Sat Jan 28 20:49:44 2017	(r432651)
+++ head/multimedia/audacious-plugins-gtk3/Makefile	Sat Jan 28 20:50:43 2017	(r432652)
@@ -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: head/multimedia/audacious-plugins/Makefile
==============================================================================
--- head/multimedia/audacious-plugins/Makefile	Sat Jan 28 20:49:44 2017	(r432651)
+++ head/multimedia/audacious-plugins/Makefile	Sat Jan 28 20:50:43 2017	(r432652)
@@ -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/
 

Added: head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/audacious-plugins/files/patch-src_ffaudio_ffaudio-core.cc	Sat Jan 28 20:50:43 2017	(r432652)
@@ -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?201701282050.v0SKohSs074549>