From b0b75c54dec0e4ed31f348ac3da41f8f997cf37d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 13 Mar 2019 09:59:04 +0100 Subject: [PATCH] input/ffmpeg: convert to class --- src/input/plugins/FfmpegInputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/input/plugins/FfmpegInputPlugin.cxx b/src/input/plugins/FfmpegInputPlugin.cxx index 48ed0bb4b..4bbdf3811 100644 --- a/src/input/plugins/FfmpegInputPlugin.cxx +++ b/src/input/plugins/FfmpegInputPlugin.cxx @@ -31,11 +31,12 @@ extern "C" { #include } -struct FfmpegInputStream final : public InputStream { +class FfmpegInputStream final : public InputStream { AVIOContext *h; bool eof; +public: FfmpegInputStream(const char *_uri, Mutex &_mutex, AVIOContext *_h) :InputStream(_uri, _mutex),