input/ffmpeg: convert to class

This commit is contained in:
Max Kellermann 2019-03-13 09:59:04 +01:00
parent 3fc201d985
commit b0b75c54de

View File

@ -31,11 +31,12 @@ extern "C" {
#include <libavformat/avio.h>
}
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),