1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00
Go to file
Xi Wang f73f76fd20 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>
2013-01-04 20:44:00 -05:00
2012-10-23 12:01:18 +01:00
2012-12-30 18:52:51 +01:00
2012-12-21 00:18:34 +01:00
2012-12-18 20:14:54 +01:00
2012-12-18 20:14:54 +01:00
2013-01-05 00:20:33 +01:00
2012-12-10 17:23:53 +00:00
2011-04-07 02:54:12 +02:00
2012-12-10 17:23:53 +00:00
2012-12-10 17:23:53 +00:00
2013-01-04 17:53:47 +01:00

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.
Languages
C 90.1%
Assembly 7.9%
Makefile 1.3%
C++ 0.2%
Objective-C 0.2%
Other 0.1%