summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2007-03-11 17:25:56 +0000
committerTony Vroon <chainsaw@gentoo.org>2007-03-11 17:25:56 +0000
commite98b413cc6346efa80dd7407c1466bbe06b9dc87 (patch)
tree634821954c698e07a57a8914351df42615eb0897 /media-plugins
parentbad metadata. (diff)
downloadhistorical-e98b413cc6346efa80dd7407c1466bbe06b9dc87.tar.gz
historical-e98b413cc6346efa80dd7407c1466bbe06b9dc87.tar.bz2
historical-e98b413cc6346efa80dd7407c1466bbe06b9dc87.zip
Stricter MP3 probing by Matti Hamalainen (ccr).
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/audacious-plugins/ChangeLog9
-rw-r--r--media-plugins/audacious-plugins/Manifest37
-rw-r--r--media-plugins/audacious-plugins/audacious-plugins-1.3.1-r1.ebuild (renamed from media-plugins/audacious-plugins/audacious-plugins-1.3.0-r1.ebuild)6
-rw-r--r--media-plugins/audacious-plugins/files/1.3.0-unscrew-flac.patch11
-rw-r--r--media-plugins/audacious-plugins/files/1.3.1-stricter-mp3-probe.patch187
-rw-r--r--media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.0-r13
-rw-r--r--media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.1-r13
7 files changed, 219 insertions, 37 deletions
diff --git a/media-plugins/audacious-plugins/ChangeLog b/media-plugins/audacious-plugins/ChangeLog
index 64784678576e..31206c441886 100644
--- a/media-plugins/audacious-plugins/ChangeLog
+++ b/media-plugins/audacious-plugins/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/audacious-plugins
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/ChangeLog,v 1.42 2007/03/11 01:14:44 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/ChangeLog,v 1.43 2007/03/11 17:25:56 chainsaw Exp $
+
+*audacious-plugins-1.3.1-r1 (11 Mar 2007)
+
+ 11 Mar 2007; Tony Vroon <chainsaw@gentoo.org>
+ -files/1.3.0-unscrew-flac.patch, +files/1.3.1-stricter-mp3-probe.patch,
+ -audacious-plugins-1.3.0-r1.ebuild, +audacious-plugins-1.3.1-r1.ebuild:
+ Stricter MP3 probing by Matti Hamalainen (ccr).
11 Mar 2007; Bryan Østergaard <kloeri@gentoo.org>
audacious-plugins-1.2.2-r1.ebuild, audacious-plugins-1.3.1.ebuild:
diff --git a/media-plugins/audacious-plugins/Manifest b/media-plugins/audacious-plugins/Manifest
index dab8cbb6a69a..49d1db271b90 100644
--- a/media-plugins/audacious-plugins/Manifest
+++ b/media-plugins/audacious-plugins/Manifest
@@ -1,17 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX 1.3.0-unscrew-flac.patch 350 RMD160 6c9624ef91dff052f7db92cfc0effd032fe924b1 SHA1 b03bcc3dd1116c1279ac7dc14cf779ca4fff7378 SHA256 c40cf4c174827ebcee51edca2a9b58470b13d7caafe324b8751c3f87e50b6d52
-MD5 ca30b5bb51c12493a0b48e53cce76094 files/1.3.0-unscrew-flac.patch 350
-RMD160 6c9624ef91dff052f7db92cfc0effd032fe924b1 files/1.3.0-unscrew-flac.patch 350
-SHA256 c40cf4c174827ebcee51edca2a9b58470b13d7caafe324b8751c3f87e50b6d52 files/1.3.0-unscrew-flac.patch 350
AUX 1.3.0_rc2-freebsd-portability.patch 1833 RMD160 dcee94df3a8b069056a6b0e98c0b3f6b201de6e3 SHA1 a9f2fcd7fbe6d3bc8399a814a64a8f4f19669e56 SHA256 5be60aca440dbe53d7ca25c517a80ee1e648179e174d7f3977c9f22ac01f755e
MD5 2e3ac6898331f492fec0fbc663cb727e files/1.3.0_rc2-freebsd-portability.patch 1833
RMD160 dcee94df3a8b069056a6b0e98c0b3f6b201de6e3 files/1.3.0_rc2-freebsd-portability.patch 1833
SHA256 5be60aca440dbe53d7ca25c517a80ee1e648179e174d7f3977c9f22ac01f755e files/1.3.0_rc2-freebsd-portability.patch 1833
+AUX 1.3.1-stricter-mp3-probe.patch 6082 RMD160 f5f1c1dc874ed2b07f1947a768df5b094c32509a SHA1 e4067db1cce73064b0cd06b557632a89ecefd95f SHA256 219d2d846b3719880fd3c8063fb753a5edc22661f886ce8eb86e05a13496afbc
+MD5 a0ad51c0dfa0cf188cf0e4fed89710db files/1.3.1-stricter-mp3-probe.patch 6082
+RMD160 f5f1c1dc874ed2b07f1947a768df5b094c32509a files/1.3.1-stricter-mp3-probe.patch 6082
+SHA256 219d2d846b3719880fd3c8063fb753a5edc22661f886ce8eb86e05a13496afbc files/1.3.1-stricter-mp3-probe.patch 6082
DIST audacious-plugins-1.2.2.tgz 2178529 RMD160 b986bb1e12fd0b3c5f0e1dde994781fb556a1d3c SHA1 300888007539fe8bcdb7fd474a7466b7f09371a2 SHA256 0422cdb510c9f7c90ceb206b4f7317e3b7ea8a66809f78976a1231d2fc073049
DIST audacious-plugins-1.2.5.tgz 2339867 RMD160 ce102649e5cf15239bcab5a204d368869dbe851d SHA1 daa5df222e982f1a56115c455c1289b21f48f264 SHA256 29d812db9a17ef50dc38db9ac354ab2ba31047829a0c1316a549177328ffb6c3
-DIST audacious-plugins-1.3.0.tgz 2902694 RMD160 01e9567ec0830ff9d8d002f7b7586e57535d17f7 SHA1 94210d33f4267bafce0269041a362ccd88d69044 SHA256 03af577608aac62d66b5d12d116826e571ea9cf5e018209ed0acbb3f855efba6
DIST audacious-plugins-1.3.1.tgz 2905465 RMD160 5d5169fc4caf5ee10374f42d925652cef73eca49 SHA1 35c1a952abdd35bf843711182f8bc9cc34c5a9b2 SHA256 d882603786b5b5e41bdc6e481e8bdabb9cb86a29f411a4bc39078ea98c9a57a5
EBUILD audacious-plugins-1.2.2-r1.ebuild 2566 RMD160 70c60bd7a9c04093707b80a4af44219528fba8bb SHA1 0a85917857e9ffe7c4aa8501385372b8ef78aed7 SHA256 5dfbcfa26a071a449144c24f5f099e1308ece4cc451bf3225fff2fd500b93173
MD5 a0623f087a52773392db32bd295d0b3a audacious-plugins-1.2.2-r1.ebuild 2566
@@ -21,18 +20,18 @@ EBUILD audacious-plugins-1.2.5.ebuild 2568 RMD160 521fc4c589a924fdaa7180dc1fbff5
MD5 7751900d04a6e5a79ba83dadc4394512 audacious-plugins-1.2.5.ebuild 2568
RMD160 521fc4c589a924fdaa7180dc1fbff5685428ab1c audacious-plugins-1.2.5.ebuild 2568
SHA256 7156f28d3e570c75109ebc8a35efe55d6c26a50274b0f8644fbcf9a1f870e32d audacious-plugins-1.2.5.ebuild 2568
-EBUILD audacious-plugins-1.3.0-r1.ebuild 3297 RMD160 280e5b11651ebd3f9fdaa8ef9d44b9a2df115882 SHA1 d1681a8112b484e4e3d43115942046f4d8c9eee0 SHA256 a84e8d61a79f2dfdb247bd470f1cfd65228962b6e2e479410e1dcb0adb266fa1
-MD5 07eb2229df63fae1cd219c2374979e35 audacious-plugins-1.3.0-r1.ebuild 3297
-RMD160 280e5b11651ebd3f9fdaa8ef9d44b9a2df115882 audacious-plugins-1.3.0-r1.ebuild 3297
-SHA256 a84e8d61a79f2dfdb247bd470f1cfd65228962b6e2e479410e1dcb0adb266fa1 audacious-plugins-1.3.0-r1.ebuild 3297
+EBUILD audacious-plugins-1.3.1-r1.ebuild 3310 RMD160 5addfdabd9aa93b0ec60fd691f116304e98973b4 SHA1 31f757d3c1371a2a9451bc72006b012d2311adc8 SHA256 f63a1893a1a369f357601e5b745740110dc5a8278e669d5224b91069d702ba79
+MD5 b0ed47c167c817a75af7333fd014827e audacious-plugins-1.3.1-r1.ebuild 3310
+RMD160 5addfdabd9aa93b0ec60fd691f116304e98973b4 audacious-plugins-1.3.1-r1.ebuild 3310
+SHA256 f63a1893a1a369f357601e5b745740110dc5a8278e669d5224b91069d702ba79 audacious-plugins-1.3.1-r1.ebuild 3310
EBUILD audacious-plugins-1.3.1.ebuild 3214 RMD160 1a4fd574cc7301d1cbceb0e8fdc619c451baf21c SHA1 1176ee61ff39463e4008ec69cbcd82ca1d3ad74c SHA256 1aa28c1fd6e11e4c46d3d751ccc4ac0912d24a8ea2e76298157494ea6c15c070
MD5 003acf673ab3740714e22bef21f3e35e audacious-plugins-1.3.1.ebuild 3214
RMD160 1a4fd574cc7301d1cbceb0e8fdc619c451baf21c audacious-plugins-1.3.1.ebuild 3214
SHA256 1aa28c1fd6e11e4c46d3d751ccc4ac0912d24a8ea2e76298157494ea6c15c070 audacious-plugins-1.3.1.ebuild 3214
-MISC ChangeLog 9619 RMD160 938028209038a4e43dd6a167659a51446a3d3ffd SHA1 10fded06c162c59d0b13d3e60084fa7fad4790a5 SHA256 16c226f8aa16bd08d32ce4ab5b3e6a3b58999295d9f0275425230929cbf79428
-MD5 6ef62bb00ca726478a9db6fc8e7f604a ChangeLog 9619
-RMD160 938028209038a4e43dd6a167659a51446a3d3ffd ChangeLog 9619
-SHA256 16c226f8aa16bd08d32ce4ab5b3e6a3b58999295d9f0275425230929cbf79428 ChangeLog 9619
+MISC ChangeLog 9911 RMD160 40bf6f9d0546b30c73d044f11a8a1e156f0be106 SHA1 99c7f3a9f75cf2cdd7a3893f2ab69894927fea5b SHA256 3d72363df996cd6ffad5c5a20686e1be07014302a117d8186d74eaf995cb4fa1
+MD5 c704588a3fc9053f25af444720ad1656 ChangeLog 9911
+RMD160 40bf6f9d0546b30c73d044f11a8a1e156f0be106 ChangeLog 9911
+SHA256 3d72363df996cd6ffad5c5a20686e1be07014302a117d8186d74eaf995cb4fa1 ChangeLog 9911
MISC metadata.xml 248 RMD160 f9de13e16a150195633b055ebe61bb4cea95160d SHA1 4ea80510c4e90c385ac851b4f82c36b4f91d9402 SHA256 6a8ca116bded5cdd92cb700f92acd22b01ae159ef1b69c60a03fc9859bb9b3d6
MD5 319fe8f45b51a2d31f8d4e9a4071ca10 metadata.xml 248
RMD160 f9de13e16a150195633b055ebe61bb4cea95160d metadata.xml 248
@@ -43,16 +42,16 @@ SHA256 844961a549d7d8bbb1935f9cc023885a14e4038342e30d527b0a9a701190195c files/di
MD5 05bf85634d63ac06167acb779b7f83c9 files/digest-audacious-plugins-1.2.5 265
RMD160 38e68bb0dc992408a3da6eb3fbb1c6c7ae81682e files/digest-audacious-plugins-1.2.5 265
SHA256 9587f8a2b5e6993a28518c5c58744d0bd58cff6dbd7931dc3ea9dd0cfefdc8e9 files/digest-audacious-plugins-1.2.5 265
-MD5 e3d0d2c92730d8a3193204b5512af835 files/digest-audacious-plugins-1.3.0-r1 265
-RMD160 f41f3cd195e10980429441485aba63d3d0c1f50a files/digest-audacious-plugins-1.3.0-r1 265
-SHA256 94a12421238b57b68924413ebb083f2d9e37741c499e950a2b7ac58e94cd0cce files/digest-audacious-plugins-1.3.0-r1 265
MD5 cf158b3e0486dc9a374074edd24494d0 files/digest-audacious-plugins-1.3.1 265
RMD160 ffbb594b06c16fb8754c05d02a9f624e19ee66a7 files/digest-audacious-plugins-1.3.1 265
SHA256 4073589e4d3fd78b5c8802197f61f8a40a4bc04bf37b4a470e072b851bb66bfe files/digest-audacious-plugins-1.3.1 265
+MD5 cf158b3e0486dc9a374074edd24494d0 files/digest-audacious-plugins-1.3.1-r1 265
+RMD160 ffbb594b06c16fb8754c05d02a9f624e19ee66a7 files/digest-audacious-plugins-1.3.1-r1 265
+SHA256 4073589e4d3fd78b5c8802197f61f8a40a4bc04bf37b4a470e072b851bb66bfe files/digest-audacious-plugins-1.3.1-r1 265
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF81fNugEuf3OQ0akRAn7mAJ4l4UqZzYeNqGlmXyraKuYGjpIjhwCghgLy
-+Z07Ar7fvsJA67KM0AP6KrU=
-=URDz
+iD8DBQFF9Duap5vW4rUFj5oRAubdAKCRDQfQj9AvvL6pYzd4jEgLMh4cRwCgkhIC
+D+QzAbq/B/fG59rzBRMj5MU=
+=Zz4i
-----END PGP SIGNATURE-----
diff --git a/media-plugins/audacious-plugins/audacious-plugins-1.3.0-r1.ebuild b/media-plugins/audacious-plugins/audacious-plugins-1.3.1-r1.ebuild
index efe8f084d990..c9a01b8b3ec5 100644
--- a/media-plugins/audacious-plugins/audacious-plugins-1.3.0-r1.ebuild
+++ b/media-plugins/audacious-plugins/audacious-plugins-1.3.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.3.0-r1.ebuild,v 1.4 2007/03/09 14:58:01 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/audacious-plugins/audacious-plugins-1.3.1-r1.ebuild,v 1.1 2007/03/11 17:25:56 chainsaw Exp $
inherit eutils flag-o-matic
@@ -13,7 +13,7 @@ SRC_URI="http://static.audacious-media-player.org/release/${MY_P}.tgz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE="aac adplug alsa arts chardet esd flac jack lirc mad modplug musepack nls opengl oss sid sndfile timidity tta vorbis wavpack wma pulseaudio"
RDEPEND="app-arch/unzip
@@ -63,7 +63,7 @@ mp3_warning() {
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/${PV}-unscrew-flac.patch
+ epatch ${FILESDIR}/${PV}-stricter-mp3-probe.patch
}
src_compile() {
diff --git a/media-plugins/audacious-plugins/files/1.3.0-unscrew-flac.patch b/media-plugins/audacious-plugins/files/1.3.0-unscrew-flac.patch
deleted file mode 100644
index 7f3e3b01e190..000000000000
--- a/media-plugins/audacious-plugins/files/1.3.0-unscrew-flac.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- trunk/src/flac/plugin_common/Makefile 2007/02/25 00:17:26 1530
-+++ trunk/src/flac/plugin_common/Makefile 2007/03/04 09:50:27 1656
-@@ -1,7 +1,7 @@
- include ../../../mk/rules.mk
- include ../../../mk/init.mk
-
--CFLAGS += $(PICFLAGS) -I.. -I../../..
-+CFLAGS += $(PICFLAGS) -I.. -I../../.. -I../libflac
-
- OBJECTIVE_LIBS_NOINST = libplugin_common.a
-
diff --git a/media-plugins/audacious-plugins/files/1.3.1-stricter-mp3-probe.patch b/media-plugins/audacious-plugins/files/1.3.1-stricter-mp3-probe.patch
new file mode 100644
index 000000000000..b341dbb3a68b
--- /dev/null
+++ b/media-plugins/audacious-plugins/files/1.3.1-stricter-mp3-probe.patch
@@ -0,0 +1,187 @@
+Index: plugin.c
+===================================================================
+--- src/madplug/plugin.c (revision 1699)
++++ src/madplug/plugin.c (working copy)
+@@ -54,6 +54,21 @@
+
+ extern gboolean scan_file(struct mad_info_t *info, gboolean fast);
+
++static gint mp3_bitrate_table[5][16] = {
++ { 0, 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448, -1 }, /* MPEG1 L1 */
++ { 0, 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384, -1 }, /* MPEG1 L2 */
++ { 0, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, -1 }, /* MPEG1 L3 */
++ { 0, 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256, -1 }, /* MPEG2(.5) L1 */
++ { 0, 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, -1 } /* MPEG2(.5) L2,L3 */
++};
++
++static gint mp3_samplerate_table[4][4] = {
++ { 11025, 12000, 8000, -1 }, /* MPEG2.5 */
++ { -1, -1, -1, -1 }, /* Reserved */
++ { 22050, 24000, 16000, -1 }, /* MPEG2 */
++ { 44100, 48000, 32000, -1 } /* MPEG1 */
++};
++
+ /*
+ * Function extname (filename)
+ *
+@@ -162,32 +177,77 @@
+ {
+ }
+
+-static gboolean mp3_head_check(guint32 head)
++static gboolean mp3_head_check(guint32 head, gint *frameSize)
+ {
+- /*
+- * First two bytes must be a sync header (11 bits all 1)
+- * http://www.mp3-tech.org/programmer/frame_header.html
++ gint version, layer, bitIndex, bitRate, sampleIndex, sampleRate, padding;
++
++ /* http://www.mp3-tech.org/programmer/frame_header.html
++ * Bits 21-31 must be set (frame sync)
+ */
+ if ((head & 0xffe00000) != 0xffe00000)
+ return FALSE;
+
+- /* check if bits 18 and 19 are set */
+- if (!((head >> 17) & 3))
+- return FALSE;
++ /* check if layer bits (17-18) are good */
++ layer = (head >> 17) & 0x3;
++ if (!layer)
++ return FALSE; /* 00 = reserved */
++ layer = 3 - layer;
+
+- /* check if bits 13 - 16 are all set */
+- if (((head >> 12) & 0xf) == 0xf)
+- return FALSE;
++ /* check if bitrate index bits (12-15) are acceptable */
++ bitIndex = (head >> 12) & 0xf;
+
+- /* check if bits 13 - 16 are all not set */
+- if (!((head >> 12) & 0xf))
++ /* 1111 and 0000 are reserved values for all layers */
++ if (bitIndex == 0xf || bitIndex == 0)
+ return FALSE;
+
+- /* check if bit 11 and 12 are both set */
+- if (((head >> 10) & 0x3) == 0x3)
++ /* check samplerate index bits (10-11) */
++ sampleIndex = (head >> 10) & 0x3;
++ if (sampleIndex == 0x3)
+ return FALSE;
+-
+- /* check if bits 17 - 20 are all set */
++
++ /* check version bits (19-20) and get bitRate */
++ version = (head >> 19) & 0x03;
++ switch (version) {
++ case 0: /* 00 = MPEG Version 2.5 */
++ case 2: /* 10 = MPEG Version 2 */
++ if (layer == 1)
++ bitRate = mp3_bitrate_table[3][bitIndex];
++ else
++ bitRate = mp3_bitrate_table[4][bitIndex];
++ break;
++
++ case 1: /* 01 = reserved */
++ return FALSE;
++
++ case 3: /* 11 = MPEG Version 1 */
++ bitRate = mp3_bitrate_table[layer][bitIndex];
++ break;
++
++ default:
++ return FALSE;
++ }
++
++ /* check layer II restrictions vs. bitrate */
++ if (layer == 2) {
++ gint chanMode = (head >> 6) & 0x3;
++
++ if (chanMode == 0x3) {
++ /* single channel with bitrate > 192 */
++ if (bitRate > 192)
++ return FALSE;
++ } else {
++ /* any other mode with bitrates 32-56 and 80 */
++ if (((bitRate >= 32 && bitRate <= 56) || bitRate == 80))
++ return FALSE;
++ }
++ }
++
++ /* calculate approx. frame size */
++ padding = (head >> 9) & 1;
++ sampleRate = mp3_samplerate_table[version][sampleIndex];
++ *frameSize = (144 * bitRate * 1000) / (sampleRate + padding);
++
++ /* check if bits 16 - 19 are all set (MPEG 1 Layer I, not protected?) */
+ if (((head >> 19) & 1) == 1 &&
+ ((head >> 17) & 3) == 3 && ((head >> 16) & 1) == 1)
+ return FALSE;
+@@ -219,10 +279,10 @@
+ {
+ guint32 check;
+ gchar *ext = extname(filename);
+- gint cyc = 0;
++ gint cyc = 0, chkcount = 0, chksize = 4096;
+ guchar buf[4];
+ guchar tmp[4096];
+- gint ret, i;
++ gint ret, i, frameSize;
+
+ info.remote = FALSE;
+
+@@ -247,6 +307,7 @@
+ gchar *tmp = g_filename_to_utf8(filename, -1, NULL, NULL, NULL);
+ g_message("vfs_fread failed @1 %s", tmp);
+ g_free(tmp);
++ return 0;
+ }
+
+ check = mp3_head_convert(buf);
+@@ -262,29 +323,40 @@
+ gchar *tmp = g_filename_to_utf8(filename, -1, NULL, NULL, NULL);
+ g_message("vfs_fread failed @2 %s", tmp);
+ g_free(tmp);
++ return 0;
+ }
+
+ if (memcmp(buf, "RMP3", 4) == 0)
+ return 1;
+ }
+
+- while (!mp3_head_check(check))
++ // check data for frame header
++ while (!mp3_head_check(check, &frameSize))
+ {
+- if((ret = vfs_fread(tmp, 1, 4096, fin)) == 0){
++ if((ret = vfs_fread(tmp, 1, chksize, fin)) == 0){
+ gchar *tmp = g_filename_to_utf8(filename, -1, NULL, NULL, NULL);
+ g_message("vfs_fread failed @3 %s", tmp);
+ g_free(tmp);
++ return 0;
+ }
+ for (i = 0; i < ret; i++)
+ {
+ check <<= 8;
+ check |= tmp[i];
+
+- if (mp3_head_check(check))
+- return 1;
++ if (mp3_head_check(check, &frameSize)) {
++ /* when the first matching frame header is found, we check for
++ * another frame by seeking to the approximate start of the
++ * next header ... also reduce the check size.
++ */
++ if (++chkcount >= 3) return 1;
++ vfs_fseek(fin, frameSize-4, SEEK_CUR);
++ check = 0;
++ chksize = 8;
++ }
+ }
+
+- if (++cyc > 1024)
++ if (++cyc > 32)
+ return 0;
+ }
+
diff --git a/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.0-r1 b/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.0-r1
deleted file mode 100644
index 32dbdb5c2476..000000000000
--- a/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.0-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b36b91f89a223a127ff67589d7497db8 audacious-plugins-1.3.0.tgz 2902694
-RMD160 01e9567ec0830ff9d8d002f7b7586e57535d17f7 audacious-plugins-1.3.0.tgz 2902694
-SHA256 03af577608aac62d66b5d12d116826e571ea9cf5e018209ed0acbb3f855efba6 audacious-plugins-1.3.0.tgz 2902694
diff --git a/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.1-r1 b/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.1-r1
new file mode 100644
index 000000000000..060535119e9d
--- /dev/null
+++ b/media-plugins/audacious-plugins/files/digest-audacious-plugins-1.3.1-r1
@@ -0,0 +1,3 @@
+MD5 900f9732661fcd7f0a7f63d0a1e212e3 audacious-plugins-1.3.1.tgz 2905465
+RMD160 5d5169fc4caf5ee10374f42d925652cef73eca49 audacious-plugins-1.3.1.tgz 2905465
+SHA256 d882603786b5b5e41bdc6e481e8bdabb9cb86a29f411a4bc39078ea98c9a57a5 audacious-plugins-1.3.1.tgz 2905465