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 <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2018-07-19 14:54:14 +02:00 committed by Frediano Ziglio
parent 8559a69fa6
commit 25e404b4f1

View File

@ -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
*/