[spice-server 1/3] dcc: Improve can_lz_compress() comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]