summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches/patch-ab
blob: 9c5b324f5c2383eb8d513860f9f4b2cf7b417e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.2 1998/08/07 10:35:59 agc Exp $

--- mpg123.c	Wed Feb 11 23:15:08 1998
+++ mpg123.c	Mon Apr 27 16:40:40 1998
@@ -161,6 +161,9 @@
         _exit(0);
       default: /* parent */
         xfermem_init_writer (buffermem);
+	if (xfermem_block(XF_WRITER, buffermem) == XF_CMD_TERMINATE) {
+	    intflag = TRUE;
+	}
         param.outmode = DECODE_BUFFER;
     }
   }