[Spice-devel] [PATCH] fix jpeg encode top down flag to be 0 or 1
Alon Levy
alevy at redhat.com
Tue Jan 4 08:20:22 PST 2011
During decoding of a jpeg sent image we assert that the top down flag is either
1 or 0, but during encoding we set it to 4 (value of SPICE_BITMAP_FLAGS_TOP_DOWN)
or 0. Fix that. This can also be fixed in client to be more lenient, but I think
it's better to fix in the server. The client assert (actually common code, but
only client runs it) is in common/canvas_base.c:615 in canvas_get_jpeg_alpha.
Alon Levy (1):
server/red_worker: use 1, not 4 when lz_encoding a top down image
server/red_worker.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
--
1.7.3.4
More information about the Spice-devel
mailing list