Both glz_encode and lz_encode error out if the bitmap stride does not
match the bitmap width.
---
 server/dcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/dcc.c b/server/dcc.c
index a5d2b344a..44d8fdd75 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
  */
-- 
2.17.1

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to