input_stream: removed the InputStream typedef

Everybody should use struct input_stream.
This commit is contained in:
Max Kellermann
2008-10-26 19:54:57 +01:00
parent bbaedb17d5
commit 21b8590b53
13 changed files with 65 additions and 50 deletions

View File

@@ -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;