input/ffmpeg: convert to class
This commit is contained in:
parent
3fc201d985
commit
b0b75c54de
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user