From 4b7f1595ccb57b747445184a8cf550c56c51aa90 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 13 Jun 2025 00:34:06 +0200 Subject: [PATCH] avcodec/svq1enc: Remove write-only c_block_{width,height} Signed-off-by: Andreas Rheinhardt --- libavcodec/svq1enc.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c index e3061baff4..cdcf1de712 100644 --- a/libavcodec/svq1enc.c +++ b/libavcodec/svq1enc.c @@ -80,10 +80,6 @@ typedef struct SVQ1EncContext { int y_block_width; int y_block_height; - /* U & V plane (C planes) block dimensions */ - int c_block_width; - int c_block_height; - DECLARE_ALIGNED(16, int16_t, encoded_block_levels)[6][7][256]; uint16_t *mb_type; @@ -595,9 +591,6 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx) s->y_block_width = (s->frame_width + 15) / 16; s->y_block_height = (s->frame_height + 15) / 16; - s->c_block_width = (s->frame_width / 4 + 15) / 16; - s->c_block_height = (s->frame_height / 4 + 15) / 16; - s->avctx = avctx; s->m.c.avctx = avctx;