avcodec/x86/huffyuvencdsp_init: Remove pointless av_unused
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Thu, 26 Feb 2026 01:46:40 +0000 (02:46 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Sun, 1 Mar 2026 11:04:14 +0000 (12:04 +0100)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/x86/huffyuvencdsp_init.c

index c46be95cb941e24e2fd80400dfd58d14fb969e84..b4dd69bd282614e8504befbc646ecd4681666a89 100644 (file)
@@ -38,7 +38,7 @@ void ff_sub_hfyu_median_pred_int16_avx2(uint16_t *dst, const uint16_t *src1, con
 
 av_cold void ff_huffyuvencdsp_init_x86(HuffYUVEncDSPContext *c, int bpp, int width)
 {
-    av_unused int cpu_flags = av_get_cpu_flags();
+    int cpu_flags = av_get_cpu_flags();
 
     if (EXTERNAL_SSE2(cpu_flags)) {
         c->diff_int16 = ff_diff_int16_sse2;