mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-06 05:06:30 +00:00
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:
parent
8559a69fa6
commit
25e404b4f1
@ -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
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user