diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-04-27 08:38:00 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2006-04-27 08:38:00 +0000 |
commit | 00075c49112171f94f13dbd953d17df6e6f77dc3 (patch) | |
tree | 6136c5718841d03a5bdb78707085852b0ffa1461 /audio/mpg123 | |
parent | dbf57be6c4e304783083d8dae460fb00a9732053 (diff) | |
download | ports-00075c49112171f94f13dbd953d17df6e6f77dc3.tar.gz ports-00075c49112171f94f13dbd953d17df6e6f77dc3.zip |
Notes
Diffstat (limited to 'audio/mpg123')
-rw-r--r-- | audio/mpg123/files/patch-buffer.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/mpg123/files/patch-buffer.c b/audio/mpg123/files/patch-buffer.c new file mode 100644 index 000000000000..be3d6ab60475 --- /dev/null +++ b/audio/mpg123/files/patch-buffer.c @@ -0,0 +1,12 @@ +--- buffer.c.orig Tue Apr 13 14:08:08 1999 ++++ buffer.c Fri Apr 21 20:17:12 2006 +@@ -41,7 +41,8 @@ + void buffer_end(void) + { + #ifndef NOXFERMEM +- xfermem_putcmd(buffermem->fd[XF_WRITER], XF_CMD_TERMINATE); ++ if (buffermem) ++ xfermem_putcmd(buffermem->fd[XF_WRITER], XF_CMD_TERMINATE); + #endif + } + |