[Spice-devel] [PATCH 13/22] dcc: reduce statement wrapping
Fabiano Fidêncio
fidencio at redhat.com
Wed Dec 2 12:42:29 PST 2015
On Wed, Dec 2, 2015 at 5:19 PM, Frediano Ziglio <fziglio at redhat.com> wrote:
> Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/dcc-send.c | 8 ++------
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/server/dcc-send.c b/server/dcc-send.c
> index 2340252..30303e7 100644
> --- a/server/dcc-send.c
> +++ b/server/dcc-send.c
> @@ -2012,14 +2012,10 @@ static void red_marshall_image(RedChannelClient *rcc, SpiceMarshaller *m, ImageI
> bitmap_fmt_is_rgb(bitmap.format) &&
> red_channel_client_test_remote_cap(&dcc->common.base,
> SPICE_DISPLAY_CAP_LZ4_COMPRESSION)) {
> - comp_succeeded = dcc_compress_image_lz4(dcc, &red_image, &bitmap,
> - &comp_send_data,
> - groupid);
> + comp_succeeded = dcc_compress_image_lz4(dcc, &red_image, &bitmap, &comp_send_data, groupid);
> #endif
> } else if (comp_mode != SPICE_IMAGE_COMPRESSION_OFF) {
> - comp_succeeded = dcc_compress_image_lz(dcc, &red_image, &bitmap,
> - &comp_send_data,
> - groupid);
> + comp_succeeded = dcc_compress_image_lz(dcc, &red_image, &bitmap, &comp_send_data, groupid);
> }
>
> surface_lossy_region = &dcc->surface_client_lossy_region[item->surface_id];
> --
> 2.4.3
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
Acked-by: Fabiano Fidêncio <fidencio at redhat.com>
More information about the Spice-devel
mailing list