Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorXi Wang <xi.wang@gmail.com>2013-01-05 01:15:33 +0400
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2013-01-05 05:44:00 +0400
commitf73f76fd202b310e8e1d0215b2e0cf038cd18c4a (patch)
treebc570a8840022281eec20d007e124a7a5f29d17a /tests
parent3b81bba3bc5aca98d891cb377d27566de4745225 (diff)
swscale: fix NULL checking in sws_alloc_context()
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions