summaryrefslogtreecommitdiff
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-04 10:34:30 -0700
committerDiego Biurrun <diego@biurrun.de>2014-08-07 04:03:00 -0700
commitbb789016d423d2cfacd2904ac66257bdf7f0964e (patch)
tree460c5b95faea1a30a56a86a91c22a0424c8474da /libswscale/utils.c
parentad1ee5fa75a3d69d54c0691048939e94ab5a7f0d (diff)
downloadffmpeg-bb789016d423d2cfacd2904ac66257bdf7f0964e.tar.gz
swscale: Undeprecate sws_getContext()
sws_getCachedContext is not a full replacement for the function.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 3a8531d0f0..32e304c66a 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -1318,7 +1318,6 @@ fail: // FIXME replace things by appropriate error codes
return -1;
}
-#if FF_API_SWS_GETCONTEXT
SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat,
int dstW, int dstH, enum AVPixelFormat dstFormat,
int flags, SwsFilter *srcFilter,
@@ -1354,7 +1353,6 @@ SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat,
return c;
}
-#endif
SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
float lumaSharpen, float chromaSharpen,