diff options
author | Max Kellermann <max@duempel.org> | 2013-10-23 22:08:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-23 23:12:02 +0200 |
commit | 93deb844996120b6326345d6d87e803142dd1968 (patch) | |
tree | d6c00669efffad1b15fc45e03158d6838a7e5827 /src/decoder/FlacIOHandle.cxx | |
parent | c4d4011c63808a64ca20a4b03fd455a83c23cc33 (diff) | |
download | mpd-93deb844996120b6326345d6d87e803142dd1968.tar.gz mpd-93deb844996120b6326345d6d87e803142dd1968.tar.xz mpd-93deb844996120b6326345d6d87e803142dd1968.zip |
input_stream: rename struct to InputStream
Diffstat (limited to 'src/decoder/FlacIOHandle.cxx')
-rw-r--r-- | src/decoder/FlacIOHandle.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/decoder/FlacIOHandle.cxx b/src/decoder/FlacIOHandle.cxx index 28ef60006..ff8b5a5bc 100644 --- a/src/decoder/FlacIOHandle.cxx +++ b/src/decoder/FlacIOHandle.cxx @@ -27,7 +27,7 @@ static size_t FlacIORead(void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle) { - input_stream *is = (input_stream *)handle; + InputStream *is = (InputStream *)handle; uint8_t *const p0 = (uint8_t *)ptr, *p = p0, *const end = p0 + size * nmemb; @@ -64,7 +64,7 @@ FlacIORead(void *ptr, size_t size, size_t nmemb, FLAC__IOHandle handle) static int FlacIOSeek(FLAC__IOHandle handle, FLAC__int64 offset, int whence) { - input_stream *is = (input_stream *)handle; + InputStream *is = (InputStream *)handle; Error error; return is->LockSeek(offset, whence, error) ? 0 : -1; @@ -73,7 +73,7 @@ FlacIOSeek(FLAC__IOHandle handle, FLAC__int64 offset, int whence) static FLAC__int64 FlacIOTell(FLAC__IOHandle handle) { - input_stream *is = (input_stream *)handle; + InputStream *is = (InputStream *)handle; return is->offset; } @@ -81,7 +81,7 @@ FlacIOTell(FLAC__IOHandle handle) static int FlacIOEof(FLAC__IOHandle handle) { - input_stream *is = (input_stream *)handle; + InputStream *is = (InputStream *)handle; return is->LockIsEOF(); } @@ -90,7 +90,7 @@ static int FlacIOClose(gcc_unused FLAC__IOHandle handle) { /* no-op because the libFLAC caller is repsonsible for closing - the #input_stream */ + the #InputStream */ return 0; } |