[FFmpeg-cvslog] swscale: point out an alternative to sws_getContext

Clément Bœsch git at videolan.org
Sun May 22 05:14:33 CEST 2011


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Thu May  5 21:25:46 2011 +0200| [7d4c4394b5c94a665cc807fb8b92ea153b6225b0] | committer: Anton Khirnov

swscale: point out an alternative to sws_getContext

Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d4c4394b5c94a665cc807fb8b92ea153b6225b0
---

 libswscale/swscale.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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,



More information about the ffmpeg-cvslog mailing list