aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/plugins/FfmpegIo.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-22 21:58:25 +0100
committerMax Kellermann <max@duempel.org>2014-12-22 21:58:25 +0100
commita2c6d5e1483138b0068d3010843e72d82249e3d2 (patch)
tree9214d75d0ed2c02c86c87285d25545642913eca1 /src/decoder/plugins/FfmpegIo.hxx
parent373706c92b9f71f3b9bd88f21bfdb4c2ce34be47 (diff)
downloadmpd-a2c6d5e1483138b0068d3010843e72d82249e3d2.tar.gz
mpd-a2c6d5e1483138b0068d3010843e72d82249e3d2.tar.xz
mpd-a2c6d5e1483138b0068d3010843e72d82249e3d2.zip
decoder/ffmpeg: move functions into the AvioStream struct
Diffstat (limited to '')
-rw-r--r--src/decoder/plugins/FfmpegIo.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/decoder/plugins/FfmpegIo.hxx b/src/decoder/plugins/FfmpegIo.hxx
index 1b154faa9..bbd3a5b62 100644
--- a/src/decoder/plugins/FfmpegIo.hxx
+++ b/src/decoder/plugins/FfmpegIo.hxx
@@ -45,6 +45,13 @@ struct AvioStream {
~AvioStream();
bool Open();
+
+private:
+ int Read(void *buffer, int size);
+ int64_t Seek(int64_t pos, int whence);
+
+ static int _Read(void *opaque, uint8_t *buf, int size);
+ static int64_t _Seek(void *opaque, int64_t pos, int whence);
};
#endif