From: Clément Bœsch Date: Thu, 5 May 2011 19:25:46 +0000 (+0200) Subject: swscale: point out an alternative to sws_getContext X-Git-Tag: v0.7rc1~384 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d4c4394b5c94a665cc807fb8b92ea153b6225b0;p=platform%2Fupstream%2Flibav.git swscale: point out an alternative to sws_getContext Signed-off-by: Anton Khirnov --- diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 5d0c9e9..dd4de76 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,