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/input/FfmpegInputPlugin.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 '')
-rw-r--r-- | src/input/FfmpegInputPlugin.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/input/FfmpegInputPlugin.cxx b/src/input/FfmpegInputPlugin.cxx index cba978029..8f9cd0b86 100644 --- a/src/input/FfmpegInputPlugin.cxx +++ b/src/input/FfmpegInputPlugin.cxx @@ -36,7 +36,7 @@ extern "C" { #include <glib.h> struct FfmpegInputStream { - struct input_stream base; + InputStream base; AVIOContext *h; @@ -86,7 +86,7 @@ input_ffmpeg_init(gcc_unused const config_param ¶m, return true; } -static struct input_stream * +static InputStream * input_ffmpeg_open(const char *uri, Mutex &mutex, Cond &cond, Error &error) @@ -112,7 +112,7 @@ input_ffmpeg_open(const char *uri, } static size_t -input_ffmpeg_read(struct input_stream *is, void *ptr, size_t size, +input_ffmpeg_read(InputStream *is, void *ptr, size_t size, Error &error) { FfmpegInputStream *i = (FfmpegInputStream *)is; @@ -131,7 +131,7 @@ input_ffmpeg_read(struct input_stream *is, void *ptr, size_t size, } static void -input_ffmpeg_close(struct input_stream *is) +input_ffmpeg_close(InputStream *is) { FfmpegInputStream *i = (FfmpegInputStream *)is; @@ -139,7 +139,7 @@ input_ffmpeg_close(struct input_stream *is) } static bool -input_ffmpeg_eof(struct input_stream *is) +input_ffmpeg_eof(InputStream *is) { FfmpegInputStream *i = (FfmpegInputStream *)is; @@ -147,7 +147,7 @@ input_ffmpeg_eof(struct input_stream *is) } static bool -input_ffmpeg_seek(struct input_stream *is, InputPlugin::offset_type offset, +input_ffmpeg_seek(InputStream *is, InputPlugin::offset_type offset, int whence, Error &error) { |