mirror of https://git.ffmpeg.org/ffmpeg.git
4ec45aca36
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. |
||
---|---|---|
.. | ||
aarch64 | ||
arm | ||
loongarch | ||
ppc | ||
riscv | ||
tests | ||
x86 | ||
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 | ||
rgb2rgb.c | ||
rgb2rgb.h | ||
rgb2rgb_template.c | ||
slice.c | ||
swscale.c | ||
swscale.h | ||
swscale_internal.h | ||
swscale_unscaled.c | ||
swscaleres.rc | ||
utils.c | ||
version.c | ||
version.h | ||
version_major.h | ||
vscale.c | ||
yuv2rgb.c |