From a2c6d5e1483138b0068d3010843e72d82249e3d2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 22 Dec 2014 21:58:25 +0100 Subject: decoder/ffmpeg: move functions into the AvioStream struct --- src/decoder/plugins/FfmpegIo.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/decoder/plugins/FfmpegIo.hxx') 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 -- cgit v1.2.3