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:
Frediano Ziglio 2017-08-03 22:07:02 +01:00
parent 9f6a671294
commit 65ba949fb0

View File

@ -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;