aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-05-05 21:25:46 +0200
committerAnton Khirnov <anton@khirnov.net>2011-05-21 13:42:50 +0200
commit7d4c4394b5c94a665cc807fb8b92ea153b6225b0 (patch)
tree90194d522910b830150c5272100c41384e244965
parentcdca7c378ed46cf67a7583a102ba1b2b91d00b9c (diff)
downloadffmpeg-7d4c4394b5c94a665cc807fb8b92ea153b6225b0.tar.gz
swscale: point out an alternative to sws_getContext
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--libswscale/swscale.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 5d0c9e9049..dd4de76b0a 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -187,6 +187,7 @@ 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 PixelFormat srcFormat,
int dstW, int dstH, enum PixelFormat dstFormat,