diff options
Diffstat (limited to 'common/rfb/H264WinDecoderContext.h')
-rw-r--r-- | common/rfb/H264WinDecoderContext.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/common/rfb/H264WinDecoderContext.h b/common/rfb/H264WinDecoderContext.h index 92041781..b1dbf0e1 100644 --- a/common/rfb/H264WinDecoderContext.h +++ b/common/rfb/H264WinDecoderContext.h @@ -30,16 +30,12 @@ namespace rfb { class H264WinDecoderContext : public H264DecoderContext { public: - H264WinDecoderContext(const Rect &r) : H264DecoderContext(r) {}; - ~H264WinDecoderContext() { freeCodec(); } + H264WinDecoderContext(const core::Rect &r); + ~H264WinDecoderContext(); void decode(const uint8_t* h264_buffer, uint32_t len, ModifiablePixelBuffer* pb) override; - protected: - bool initCodec() override; - void freeCodec() override; - private: LONG stride; uint32_t full_width = 0; |