diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 09:43:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 10:45:10 +0200 |
commit | 05de2e998c7df2757ae63ce6a053e27eca3d13ca (patch) | |
tree | 2c85c43cb69dc2dc7086bfddc66090928cd0d93f /src/input/FfmpegInputPlugin.cxx | |
parent | 24780d99e61af44141e8f0d0d0776a1c994e6770 (diff) | |
download | mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.tar.gz mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.tar.xz mpd-05de2e998c7df2757ae63ce6a053e27eca3d13ca.zip |
InputStream: use int64_t instead of goffset
Decouple some more from GLib.
Diffstat (limited to '')
-rw-r--r-- | src/input/FfmpegInputPlugin.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input/FfmpegInputPlugin.cxx b/src/input/FfmpegInputPlugin.cxx index e6eeaa8fc..0d9cf6b8f 100644 --- a/src/input/FfmpegInputPlugin.cxx +++ b/src/input/FfmpegInputPlugin.cxx @@ -34,6 +34,8 @@ extern "C" { #include <libavformat/avformat.h> } +#include <glib.h> + struct FfmpegInputStream { struct input_stream base; @@ -146,7 +148,8 @@ input_ffmpeg_eof(struct input_stream *is) } static bool -input_ffmpeg_seek(struct input_stream *is, goffset offset, int whence, +input_ffmpeg_seek(struct input_stream *is, InputPlugin::offset_type offset, + int whence, Error &error) { FfmpegInputStream *i = (FfmpegInputStream *)is; |