summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-12 15:45:47 +0000
committerlucabe <lucabe@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-12 15:45:47 +0000
commit3caab473238da29cd3e34f4f3ad095b7d4fc8f91 (patch)
treea2b8100daabc6e8329e045807850a8b73659033c /libswscale
parent86bfe9c6b8bc32ac48ef6c498e38e27857fc8eb6 (diff)
downloadmpv-3caab473238da29cd3e34f4f3ad095b7d4fc8f91.tar.bz2
mpv-3caab473238da29cd3e34f4f3ad095b7d4fc8f91.tar.xz
deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21888 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 06088b8e49..27d1aa3efa 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -27,6 +27,8 @@
* external api for the swscale stuff
*/
+#include "avutil.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -109,7 +111,7 @@ struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, i
int sws_scale(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]);
int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY,
- int srcSliceH, uint8_t* dst[], int dstStride[]);
+ int srcSliceH, uint8_t* dst[], int dstStride[]) attribute_deprecated;
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation);