aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-01-14 02:08:05 +0000
committerEric Wong <normalperson@yhbt.net>2007-01-14 02:08:05 +0000
commit1d9b6076cbc4f311289c7fcf99aa42ae47abc6e3 (patch)
tree1c523827a4792e779bfe4c0e9b205646001df6a8
parent8cc1048d72092154b9ef946d3d18a2bc405e5431 (diff)
downloadmpd-1d9b6076cbc4f311289c7fcf99aa42ae47abc6e3.tar.gz
mpd-1d9b6076cbc4f311289c7fcf99aa42ae47abc6e3.tar.xz
mpd-1d9b6076cbc4f311289c7fcf99aa42ae47abc6e3.zip
flac: fix a stupid mistake newer preprocessors don't complain about
FLAC__{seekable_,}_stream_decoder_new() takes no arguments git-svn-id: https://svn.musicpd.org/mpd/trunk@5241 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/inputPlugins/_flac_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/_flac_common.h b/src/inputPlugins/_flac_common.h
index 2dd5517e5..8b53a42df 100644
--- a/src/inputPlugins/_flac_common.h
+++ b/src/inputPlugins/_flac_common.h
@@ -34,7 +34,7 @@
#if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
# include <FLAC/seekable_stream_decoder.h>
# define flac_decoder FLAC__SeekableStreamDecoder
-# define flac_new(x) FLAC__seekable_stream_decoder_new(x)
+# define flac_new() FLAC__seekable_stream_decoder_new()
# define flac_ogg_init(a,b,c,d,e,f,g,h,i,j) (0)
@@ -91,7 +91,7 @@
# include <FLAC/stream_decoder.h>
# define flac_decoder FLAC__StreamDecoder
-# define flac_new(x) FLAC__stream_decoder_new(x)
+# define flac_new() FLAC__stream_decoder_new()
# define flac_init(a,b,c,d,e,f,g,h,i,j) \
(FLAC__stream_decoder_init_stream(a,b,c,d,e,f,g,h,i,j) \