diff options
author | Max Kellermann <max@duempel.org> | 2008-10-26 19:54:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-26 19:54:57 +0100 |
commit | 21b8590b53699f92802cb95121e910033cbd4f11 (patch) | |
tree | 0a1d8fde8468929479d38a1e96e4938542e1d80a /src/decoder/mpc_plugin.c | |
parent | bbaedb17d52cf14cf1abc3f24a90dfa06f875440 (diff) | |
download | mpd-21b8590b53699f92802cb95121e910033cbd4f11.tar.gz mpd-21b8590b53699f92802cb95121e910033cbd4f11.tar.xz mpd-21b8590b53699f92802cb95121e910033cbd4f11.zip |
input_stream: removed the InputStream typedef
Everybody should use struct input_stream.
Diffstat (limited to 'src/decoder/mpc_plugin.c')
-rw-r--r-- | src/decoder/mpc_plugin.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpc_plugin.c index fb1b0b56c..e76b56cf9 100644 --- a/src/decoder/mpc_plugin.c +++ b/src/decoder/mpc_plugin.c @@ -23,7 +23,7 @@ #include <mpcdec/mpcdec.h> typedef struct _MpcCallbackData { - InputStream *inStream; + struct input_stream *inStream; struct decoder *decoder; } MpcCallbackData; @@ -94,7 +94,8 @@ static inline int16_t convertSample(MPC_SAMPLE_FORMAT sample) return val; } -static int mpc_decode(struct decoder * mpd_decoder, InputStream * inStream) +static int +mpc_decode(struct decoder *mpd_decoder, struct input_stream *inStream) { mpc_decoder decoder; mpc_reader reader; @@ -240,7 +241,7 @@ static int mpc_decode(struct decoder * mpd_decoder, InputStream * inStream) static float mpcGetTime(char *file) { - InputStream inStream; + struct input_stream inStream; float total_time = -1; mpc_reader reader; |