mirror of https://git.ffmpeg.org/ffmpeg.git
f73f76fd20
sws_getCachedContext() and sws_getContext() expect sws_alloc_context() to return NULL when out of memory, as follows. if (!(context = sws_alloc_context())) return NULL; This patch fixes sws_alloc_context() to return NULL in that case. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> |
||
---|---|---|
.. | ||
bfin | ||
ppc | ||
sparc | ||
x86 | ||
Makefile | ||
colorspace-test.c | ||
input.c | ||
libswscale.v | ||
options.c | ||
output.c | ||
rgb2rgb.c | ||
rgb2rgb.h | ||
rgb2rgb_template.c | ||
swscale-test.c | ||
swscale.c | ||
swscale.h | ||
swscale_internal.h | ||
swscale_unscaled.c | ||
utils.c | ||
version.h | ||
yuv2rgb.c |