diff options
Diffstat (limited to 'common/rfb/H264Decoder.cxx')
-rw-r--r-- | common/rfb/H264Decoder.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/common/rfb/H264Decoder.cxx b/common/rfb/H264Decoder.cxx index 27c380bb..92231fcd 100644 --- a/common/rfb/H264Decoder.cxx +++ b/common/rfb/H264Decoder.cxx @@ -65,8 +65,10 @@ H264DecoderContext* H264Decoder::findContext(const Rect& r) return NULL; } -bool H264Decoder::readRect(const Rect& r, rdr::InStream* is, - const ServerParams& server, rdr::OutStream* os) +bool H264Decoder::readRect(const Rect& /*r*/, + rdr::InStream* is, + const ServerParams& /*server*/, + rdr::OutStream* os) { rdr::U32 len; @@ -92,7 +94,8 @@ bool H264Decoder::readRect(const Rect& r, rdr::InStream* is, } void H264Decoder::decodeRect(const Rect& r, const void* buffer, - size_t buflen, const ServerParams& server, + size_t buflen, + const ServerParams& /*server*/, ModifiablePixelBuffer* pb) { rdr::MemInStream is(buffer, buflen); @@ -134,5 +137,5 @@ void H264Decoder::decodeRect(const Rect& r, const void* buffer, if (!len) return; - ctx->decode(is.getptr(len), len, flags, pb); + ctx->decode(is.getptr(len), len, pb); } |