From 25e404b4f124bf22a5ad497833086a9fc1144dab Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 19 Jul 2018 14:54:14 +0200 Subject: [PATCH] dcc: Improve can_lz_compress() comment Both glz_encode and lz_encode error out if the bitmap stride does not match the bitmap width. Acked-by: Frediano Ziglio --- server/dcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/dcc.c b/server/dcc.c index a5d2b344..44d8fdd7 100644 --- a/server/dcc.c +++ b/server/dcc.c @@ -759,7 +759,7 @@ static bool can_quic_compress(SpiceBitmap *bitmap) bitmap->x >= MIN_DIMENSION_TO_QUIC && bitmap->y >= MIN_DIMENSION_TO_QUIC; } /** - * lz doesn't handle: + * lz/glz doesn't handle: * (1) bitmaps with strides that are larger than the width of the image in bytes * (2) unstable bitmaps */