mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 15:45:54 +00:00
Remove only written field
EncoderData::dcc field is never read back. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
ff1a381f60
commit
e8d7fecbc2
@ -143,7 +143,6 @@ void encoder_data_init(EncoderData *data, DisplayChannelClient *dcc)
|
||||
{
|
||||
data->bufs_tail = g_new(RedCompressBuf, 1);
|
||||
data->bufs_head = data->bufs_tail;
|
||||
data->dcc = dcc;
|
||||
data->bufs_head->send_next = NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -80,7 +80,6 @@ GlzSharedDictionary* dcc_restore_glz_dictionary (DisplayChannelClie
|
||||
GlzEncDictRestoreData *restore_data);
|
||||
|
||||
typedef struct {
|
||||
DisplayChannelClient *dcc;
|
||||
RedCompressBuf *bufs_head;
|
||||
RedCompressBuf *bufs_tail;
|
||||
jmp_buf jmp_env;
|
||||
|
||||
@ -938,8 +938,6 @@ static int dcc_compress_image_jpeg(DisplayChannelClient *dcc, SpiceImage *dest,
|
||||
comp_head_left = sizeof(lz_data->data.bufs_head->buf) - comp_head_filled;
|
||||
lz_out_start_byte = lz_data->data.bufs_head->buf.bytes + comp_head_filled;
|
||||
|
||||
lz_data->data.dcc = dcc;
|
||||
|
||||
lz_data->data.u.lines_data.chunks = src->data;
|
||||
lz_data->data.u.lines_data.stride = src->stride;
|
||||
lz_data->data.u.lines_data.next = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user