summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-10 23:22:07 +0000
committerstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-10 23:22:07 +0000
commit5bc2baa01e6932079437bb4d97520cf215163d16 (patch)
tree917a5fc0c915231369a16d933295943c0d2b8fe3 /libswscale/swscale.h
parentcdfafa69996bce40732997dca168b9f36794dbe8 (diff)
downloadmpv-5bc2baa01e6932079437bb4d97520cf215163d16.tar.bz2
mpv-5bc2baa01e6932079437bb4d97520cf215163d16.tar.xz
Add a @deprecated notice to swscale_get_ordered().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28521 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index a1764d8d75..53e4489fdf 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -119,6 +119,9 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat
int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
#if LIBSWSCALE_VERSION_MAJOR < 1
+/**
+ * @deprecated Use sws_scale() instead.
+ */
int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]) attribute_deprecated;
#endif