summaryrefslogtreecommitdiff
path: root/audio/xmms-mad/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xmms-mad/patches/patch-aa')
-rw-r--r--audio/xmms-mad/patches/patch-aa15
1 files changed, 12 insertions, 3 deletions
diff --git a/audio/xmms-mad/patches/patch-aa b/audio/xmms-mad/patches/patch-aa
index 0d941025ca0..4566ffb5252 100644
--- a/audio/xmms-mad/patches/patch-aa
+++ b/audio/xmms-mad/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $
+$NetBSD: patch-aa,v 1.3 2003/12/23 09:52:11 simonb Exp $
---- src/decoder.c.orig Fri May 10 00:53:45 2002
+--- src/decoder.c.orig Fri May 30 21:31:35 2003
+++ src/decoder.c
-@@ -205,6 +205,9 @@ decode (void *arg)
+@@ -260,6 +260,9 @@ decode (void *arg)
/* main loop */
do
{
@@ -12,3 +12,12 @@ $NetBSD: patch-aa,v 1.2 2002/10/27 07:31:12 rh Exp $
if (info->stop)
break;
if (seek_skip)
+@@ -416,6 +419,8 @@ decode (void *arg)
+ #endif /* DEBUG */
+
+ mad_plugin.output->close_audio ();
++ close (info->infile);
++ info->infile = 0;
+ info->stop = 1;
+ pthread_exit (0);
+ }