[Spice-devel] [spice-server 1/3] dcc: Improve can_lz_compress() comment
Frediano Ziglio
fziglio at redhat.com
Thu Jul 19 13:26:23 UTC 2018
>
> 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
> */
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
More information about the Spice-devel
mailing list