mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2025-12-26 14:18:36 +00:00
quic: remove only assigned num_channels field
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
9f6a671294
commit
65ba949fb0
@ -153,7 +153,6 @@ struct Encoder {
|
||||
QuicImageType type;
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
unsigned int num_channels;
|
||||
|
||||
unsigned int n_buckets_8bpc;
|
||||
unsigned int n_buckets_5bpc;
|
||||
@ -1079,8 +1078,6 @@ static int encoder_reset_channels(Encoder *encoder, int channels, int width, int
|
||||
{
|
||||
int i;
|
||||
|
||||
encoder->num_channels = channels;
|
||||
|
||||
for (i = 0; i < channels; i++) {
|
||||
s_bucket *bucket;
|
||||
s_bucket *end_bucket;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user