swscale/x86/ops: Fix leak

Reviewed-by: Niklas Haas <ffmpeg@haasn.dev>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-09-12 20:55:24 +02:00
parent c74ee4ceff
commit a4fd3f27f4
+1 -1
View File
@@ -206,7 +206,7 @@ static int setup_dither(const SwsOp *op, SwsOpPriv *out)
DECL_COMMON_PATTERNS(F32, dither##SIZE##EXT, \
.op = SWS_OP_DITHER, \
.setup = setup_dither, \
.free = SIZE > 2 ? av_free : NULL, \
.free = (1 << SIZE) > 2 ? av_free : NULL, \
.dither_size = SIZE, \
);