diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index a1764d8d755be043dde86530ced3aed5a45e2d73..53e4489fdfa4e5067210a3e6c7aee97ecda40cdf 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