swscale: point out an alternative to sws_getContext
authorClément Bœsch <ubitux@gmail.com>
Thu, 5 May 2011 19:25:46 +0000 (21:25 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 21 May 2011 11:42:50 +0000 (13:42 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libswscale/swscale.h

index 5d0c9e9..dd4de76 100644 (file)
@@ -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,