[Spice-devel] [PATCH 1/2] server: red_send_image() initialize bitmap.flags
Yonit Halperin
yhalperi at redhat.com
Sun Aug 29 00:58:22 PDT 2010
On 08/26/2010 09:10 PM, alexl at redhat.com wrote:
> From: Alexander Larsson<alexl at redhat.com>
>
> We're currently sending this to the network based on random memory.
> ---
> server/red_worker.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/server/red_worker.c b/server/red_worker.c
> index 27d9491..da7e8e8 100644
> --- a/server/red_worker.c
> +++ b/server/red_worker.c
> @@ -7915,6 +7915,7 @@ static void red_send_image(DisplayChannel *display_channel, ImageItem *item)
> red_image.descriptor.height = item->height;
>
> bitmap.format = item->image_format;
> + bitmap.flags = 0;
> if (item->top_down) {
> bitmap.flags |= SPICE_BITMAP_FLAGS_TOP_DOWN;
> }
Ack
More information about the Spice-devel
mailing list