summaryrefslogtreecommitdiff
path: root/media-sound/xmms2/files/xmms2-0.8_p20161122-faad.patch
blob: 00aa5d770823c3437e4f9f4a1ac7ef7c9b993653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
This line has stopped working since security fixes in the faad 2.9.0
release. XMMS2 upstream were informed via IRC but have yet to act on
it. I've run XMMS2 with this patch for months without issue.

-- Chewi

diff --git a/src/plugins/faad/faad.c b/src/plugins/faad/faad.c
index 50835d27..7074e1b5 100644
--- a/src/plugins/faad/faad.c
+++ b/src/plugins/faad/faad.c
@@ -242,7 +242,6 @@ xmms_faad_init (xmms_xform_t *xform)
 	 * and durations calculations... So we cheat and tell libfaad2 we're feeding
 	 * it frame 1.
 	 */
-	NeAACDecPostSeekReset (data->decoder, 1);
 
 	/* FIXME: Because for HE AAC files some versions of libfaad return the wrong
 	 * samplerate in init, we have to do one read and let it decide the real