diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-08-04 10:34:30 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-07 04:03:00 -0700 |
commit | bb789016d423d2cfacd2904ac66257bdf7f0964e (patch) | |
tree | 460c5b95faea1a30a56a86a91c22a0424c8474da /libswscale/swscale.h | |
parent | ad1ee5fa75a3d69d54c0691048939e94ab5a7f0d (diff) | |
download | ffmpeg-bb789016d423d2cfacd2904ac66257bdf7f0964e.tar.gz |
swscale: Undeprecate sws_getContext()
sws_getCachedContext is not a full replacement for the function.
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 715f559590..8abbac4761 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -174,7 +174,6 @@ int sws_init_context(struct SwsContext *sws_context, SwsFilter *srcFilter, SwsFi */ void sws_freeContext(struct SwsContext *swsContext); -#if FF_API_SWS_GETCONTEXT /** * Allocate and return an SwsContext. You need it to perform * scaling/conversion operations using sws_scale(). @@ -189,13 +188,11 @@ void sws_freeContext(struct SwsContext *swsContext); * @return a pointer to an allocated context, or NULL in case of error * @note this function is to be removed after a saner alternative is * written - * @deprecated Use sws_getCachedContext() instead. */ struct SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param); -#endif /** * Scale the image slice in srcSlice and put the resulting scaled |