summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-17 01:15:38 +0200
committerPavel Grunt <pgrunt@redhat.com>2015-11-13 17:21:35 +0100
commitf30e6741e667802bad4591d53d91705a9c3c6f62 (patch)
tree91ae53d438edce6e1c34af5550bfa39814b562bd
parent8cd91cf921b6f75aae9fb8985f28e2facf9abb18 (diff)
worker: comment unneeded assignmentsencoders
-rw-r--r--server/red_worker.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 7240307f..5f39d723 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -2541,7 +2541,7 @@ static inline int red_glz_compress_image(DisplayChannelClient *dcc,
glz_data->data.u.lines_data.stride = src->stride;
glz_data->data.u.lines_data.next = 0;
glz_data->data.u.lines_data.reverse = 0;
- glz_data->usr.more_lines = glz_usr_more_lines;
+ /* fixme: remove? glz_data->usr.more_lines = glz_usr_more_lines; */
glz_size = glz_encode(dcc->glz, type, src->x, src->y,
(src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN), NULL, 0,
@@ -2630,7 +2630,7 @@ static inline int red_lz_compress_image(DisplayChannelClient *dcc,
lz_data->data.u.lines_data.stride = src->stride;
lz_data->data.u.lines_data.next = 0;
lz_data->data.u.lines_data.reverse = 0;
- lz_data->usr.more_lines = lz_usr_more_lines;
+ /* fixme: remove? lz_data->usr.more_lines = lz_usr_more_lines; */
size = lz_encode(lz, type, src->x, src->y,
!!(src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN),
@@ -2727,7 +2727,7 @@ static int red_jpeg_compress_image(DisplayChannelClient *dcc, SpiceImage *dest,
jpeg_data->data.u.lines_data.chunks = src->data;
jpeg_data->data.u.lines_data.stride = src->stride;
- jpeg_data->usr.more_lines = jpeg_usr_more_lines;
+ /* fixme: remove? jpeg_data->usr.more_lines = jpeg_usr_more_lines; */
if ((src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) {
jpeg_data->data.u.lines_data.next = 0;
jpeg_data->data.u.lines_data.reverse = 0;
@@ -2773,7 +2773,7 @@ static int red_jpeg_compress_image(DisplayChannelClient *dcc, SpiceImage *dest,
lz_data->data.u.lines_data.stride = src->stride;
lz_data->data.u.lines_data.next = 0;
lz_data->data.u.lines_data.reverse = 0;
- lz_data->usr.more_lines = lz_usr_more_lines;
+ /* fixme: remove? lz_data->usr.more_lines = lz_usr_more_lines; */
alpha_lz_size = lz_encode(lz, LZ_IMAGE_TYPE_XXXA, src->x, src->y,
!!(src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN),
@@ -2844,7 +2844,7 @@ static int red_lz4_compress_image(DisplayChannelClient *dcc, SpiceImage *dest,
lz4_data->data.u.lines_data.stride = src->stride;
lz4_data->data.u.lines_data.next = 0;
lz4_data->data.u.lines_data.reverse = 0;
- lz4_data->usr.more_lines = lz4_usr_more_lines;
+ /* fixme remove? lz4_data->usr.more_lines = lz4_usr_more_lines; */
lz4_size = lz4_encode(lz4, src->y, src->stride, (uint8_t*)lz4_data->data.bufs_head->buf,
sizeof(lz4_data->data.bufs_head->buf),
@@ -2916,7 +2916,7 @@ static inline int red_quic_compress_image(DisplayChannelClient *dcc, SpiceImage
quic_data->data.u.lines_data.chunks = src->data;
quic_data->data.u.lines_data.stride = src->stride;
- quic_data->usr.more_lines = quic_usr_more_lines;
+ /* fixme: remove? quic_data->usr.more_lines = quic_usr_more_lines; */
if ((src->flags & SPICE_BITMAP_FLAGS_TOP_DOWN)) {
quic_data->data.u.lines_data.next = 0;
quic_data->data.u.lines_data.reverse = 0;