[Spice-devel] [PATCH 2/2] server: don't abort on guest images with missing palettes

Marc-André Lureau marcandre.lureau at gmail.com
Thu Jul 12 12:05:13 PDT 2012


On Thu, Jul 12, 2012 at 7:46 PM, Alon Levy <alevy at redhat.com> wrote:
> +        if (!BITMAP_FMT_IS_RGB[qxl->bitmap.format] && !qxl->bitmap.palette) {

Could it be possible to make this a common inline function, and doing
a check of format range there too?

-- 
Marc-André Lureau


More information about the Spice-devel mailing list