[Spice-commits] server/image-encoders.h
Frediano Ziglio
fziglio at kemper.freedesktop.org
Tue Nov 1 10:32:12 UTC 2016
server/image-encoders.h | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b4c40ea51f19a3ac79029afbcd5c2c5f8ecb4411
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Thu Sep 29 14:30:42 2016 +0100
Do not declare image_encoders_compress_lz4 if LZ4 is not available
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
diff --git a/server/image-encoders.h b/server/image-encoders.h
index 6b4999e..a755bf3 100644
--- a/server/image-encoders.h
+++ b/server/image-encoders.h
@@ -202,8 +202,10 @@ int image_encoders_compress_lz(ImageEncoders *enc, SpiceImage *dest,
SpiceBitmap *src, compress_send_data_t* o_comp_data);
int image_encoders_compress_jpeg(ImageEncoders *enc, SpiceImage *dest,
SpiceBitmap *src, compress_send_data_t* o_comp_data);
+#ifdef USE_LZ4
int image_encoders_compress_lz4(ImageEncoders *enc, SpiceImage *dest,
SpiceBitmap *src, compress_send_data_t* o_comp_data);
+#endif
int image_encoders_compress_glz(ImageEncoders *enc, SpiceImage *dest,
SpiceBitmap *src,
RedDrawable *red_drawable,
More information about the Spice-commits
mailing list