Re: [PATCH spice-common] Define canvas_fix_alignment when is used

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

On Tue, Apr 19, 2016 at 12:35:22PM +0200, Pavel Grunt wrote:
> It is used in canvas_get_lz4() which is guarded by USE_LZ4, and
> in canvas_get_lz() which is guarded by SW_CANVAS_CACHE.
> ---
>  common/canvas_base.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/common/canvas_base.c b/common/canvas_base.c
> index 45dd75f..114c1b9 100644
> --- a/common/canvas_base.c
> +++ b/common/canvas_base.c
> @@ -515,6 +515,7 @@ static pixman_image_t *canvas_get_jpeg(CanvasBase *canvas, SpiceImage *image)
>      return surface;
>  }
>  
> +#if defined(USE_LZ4) || defined(SW_CANVAS_CACHE)
>  static void canvas_fix_alignment(uint8_t *bits,
>                                   int stride_encoded, int stride_pixman,
>                                   int height)
> @@ -531,6 +532,7 @@ static void canvas_fix_alignment(uint8_t *bits,
>          }
>      }
>  }
> +#endif
>  
>  #ifdef USE_LZ4
>  static pixman_image_t *canvas_get_lz4(CanvasBase *canvas, SpiceImage *image)
> -- 
> 2.8.1
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]