Commit 0c01840a authored by Max Kellermann's avatar Max Kellermann

input/ffmpeg: use C++11 initializer

parent b0b75c54
......@@ -34,13 +34,13 @@ extern "C" {
class FfmpegInputStream final : public InputStream {
AVIOContext *h;
bool eof;
bool eof = false;
public:
FfmpegInputStream(const char *_uri, Mutex &_mutex,
AVIOContext *_h)
:InputStream(_uri, _mutex),
h(_h), eof(false) {
h(_h) {
seekable = (h->seekable & AVIO_SEEKABLE_NORMAL) != 0;
size = avio_size(h);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment