aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/FfmpegInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/FfmpegInputPlugin.cxx')
-rw-r--r--src/input/FfmpegInputPlugin.cxx5
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;