[MPlayer-cvslog] r21888 - trunk/libswscale/swscale.h

lucabe subversion at mplayerhq.hu
Fri Jan 12 16:45:47 CET 2007


Author: lucabe
Date: Fri Jan 12 16:45:47 2007
New Revision: 21888

Modified:
   trunk/libswscale/swscale.h

Log:
deprecate sws_scale_ordered(), as it now is a duplicate of sws_scale()


Modified: trunk/libswscale/swscale.h
==============================================================================
--- trunk/libswscale/swscale.h	(original)
+++ trunk/libswscale/swscale.h	Fri Jan 12 16:45:47 2007
@@ -27,6 +27,8 @@
  *     external api for the swscale stuff
  */
 
+#include "avutil.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -109,7 +111,7 @@
 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);



More information about the MPlayer-cvslog mailing list