diff libswscale/swscale.c @ 28457:7d49f24cc18f

Drop the deprecated sws_scale_ordered() at the next major version bump.
author stefano
date Sun, 08 Feb 2009 23:06:05 +0000
parents 99c49467ebbc
children 12c0dfccf149
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Feb 08 23:02:06 2009 +0000
+++ b/libswscale/swscale.c	Sun Feb 08 23:06:05 2009 +0000
@@ -2820,6 +2820,7 @@
     }
 }
 
+#if LIBSWSCALE_VERSION_MAJOR < 1
 /**
  * swscale wrapper, so we don't need to export the SwsContext.
  */
@@ -2827,6 +2828,7 @@
                       int srcSliceH, uint8_t* dst[], int dstStride[]){
     return sws_scale(c, src, srcStride, srcSliceY, srcSliceH, dst, dstStride);
 }
+#endif
 
 SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
                                 float lumaSharpen, float chromaSharpen,