From f8bcea4946d2ce1f5271a550fcc9131797505eed Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 13 Nov 2025 12:04:15 +0100 Subject: [PATCH] avfilter/vf_fsppdsp: Remove pointless cast Also don't cast const away and use a smaller scope. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_fsppdsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavfilter/vf_fsppdsp.c b/libavfilter/vf_fsppdsp.c index 7fdc5ece25..3230376a19 100644 --- a/libavfilter/vf_fsppdsp.c +++ b/libavfilter/vf_fsppdsp.c @@ -136,12 +136,11 @@ void ff_column_fidct_c(const int16_t *restrict thr_adr, const int16_t *restrict int_simd16_t d0, d1, d2, d3, d4, d5, d6, d7; int16_t *wsptr; - int16_t *threshold; wsptr = output; for (; cnt > 0; cnt -= 2) { //start positions - threshold = (int16_t *)thr_adr;//threshold_mtx + const int16_t *threshold = thr_adr;//threshold_mtx for (int ctr = DCTSIZE; ctr > 0; ctr--) { // Process columns from input, add to output. tmp0 = data[DCTSIZE * 0] + data[DCTSIZE * 7];