aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/H264LibavDecoderContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/H264LibavDecoderContext.h')
-rw-r--r--common/rfb/H264LibavDecoderContext.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/common/rfb/H264LibavDecoderContext.h b/common/rfb/H264LibavDecoderContext.h
index 96558bee..c23fdf79 100644
--- a/common/rfb/H264LibavDecoderContext.h
+++ b/common/rfb/H264LibavDecoderContext.h
@@ -31,16 +31,12 @@ extern "C" {
namespace rfb {
class H264LibavDecoderContext : public H264DecoderContext {
public:
- H264LibavDecoderContext(const Rect &r) : H264DecoderContext(r) {}
- ~H264LibavDecoderContext() { freeCodec(); }
+ H264LibavDecoderContext(const core::Rect &r);
+ ~H264LibavDecoderContext();
void decode(const uint8_t* h264_buffer, uint32_t len,
ModifiablePixelBuffer* pb) override;
- protected:
- bool initCodec() override;
- void freeCodec() override;
-
private:
uint8_t* makeH264WorkBuffer(const uint8_t* buffer, uint32_t len);