From 65ba949fb067debb71c13fd2ff2bb3b6dd961500 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Thu, 3 Aug 2017 22:07:02 +0100 Subject: [PATCH] quic: remove only assigned num_channels field Signed-off-by: Frediano Ziglio Acked-by: Jonathon Jongsma --- common/quic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/quic.c b/common/quic.c index b753d07..511e733 100644 --- a/common/quic.c +++ b/common/quic.c @@ -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;