ffmpeg/libswscale
Niklas Haas 4ec45aca36 swscale/utils: fix leak on threaded ctx init failure
This count gets incremented after init succeeds, when it should be
incremented after *alloc* succeeds. Otherwise, we leak the context on
failure.

There are no negative consequences of incrementing for
allocated-but-not-initialized contexts, as the only functions that
reference it will, in the worst case, simply behave as if called on
allocated-but-not-initialized contexts, which is in line with expected
behavior when sws_init_context() fails.
2024-07-14 13:48:59 +02:00
..
aarch64 swscale/aarch64: Add argb/abgr to yuv 2024-07-05 16:32:31 +08:00
arm
loongarch swscale: [loongarch] Fix undeclared functions prob. 2024-05-31 02:20:23 +02:00
ppc
riscv riscv: probe for Zbb extension at load time 2024-06-11 20:12:37 +03:00
tests
x86 swscale/x86/yuv2rgb: Detemplatize 2024-07-10 12:25:32 +02:00
Makefile
alphablend.c
bayer_template.c
gamma.c
half2float.c
hscale.c
hscale_fast_bilinear.c
input.c
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Avoid undefined overflow in yuv2rgb_write_full() 2024-06-26 20:49:36 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c
swscale.c swscale/swscale: Use ptrdiff_t for linesize computations 2024-07-07 23:36:30 +02:00
swscale.h
swscale_internal.h swscale: remove unconditional #define DITHER1XBPP 2024-07-10 12:25:03 +02:00
swscale_unscaled.c
swscaleres.rc
utils.c swscale/utils: fix leak on threaded ctx init failure 2024-07-14 13:48:59 +02:00
version.c
version.h
version_major.h
vscale.c
yuv2rgb.c swscale: prevent undefined behaviour in the PUTRGBA macro 2024-07-10 18:10:10 +02:00