[snip]
> + sizeof(zlib_data->data.bufs_head->buf));
> +
> + // the compressed buffer is bigger than the original data
> + if (zlib_size >= glz_size) {
Does this actually happen in practice?
> + while (zlib_data->data.bufs_head) {
> + RedCompressBuf *buf = zlib_data->data.bufs_head;
> + zlib_data->data.bufs_head = buf->send_next;
> + red_display_free_compress_buf(display_channel, buf);
> + }
> + goto glz;
> + }
> +
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel