mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
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:
@@ -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, \
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user