swscale: Undeprecate sws_getContext()

sws_getCachedContext is not a full replacement for the function.
This commit is contained in:
Diego Biurrun
2014-08-04 10:34:30 -07:00
parent ad1ee5fa75
commit bb789016d4
4 changed files with 4 additions and 9 deletions

View File

@@ -28,7 +28,7 @@
#define LIBSWSCALE_VERSION_MAJOR 2
#define LIBSWSCALE_VERSION_MINOR 1
#define LIBSWSCALE_VERSION_MICRO 2
#define LIBSWSCALE_VERSION_MICRO 3
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \
@@ -46,9 +46,6 @@
* the public API and may change, break or disappear at any time.
*/
#ifndef FF_API_SWS_GETCONTEXT
#define FF_API_SWS_GETCONTEXT (LIBSWSCALE_VERSION_MAJOR < 3)
#endif
#ifndef FF_API_SWS_CPU_CAPS
#define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 3)
#endif