X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libswscale%2Fswscale.h;h=878962384c7a0924c2504a2816ee562955233bed;hb=a959e24780e4570061df034ddf0271992f3e6dc6;hp=958d0244aead3543abe7f3a81d5d72c60be6642e;hpb=7c2de274e7ae6743cbd3f3f8b1aeebdf353cfdf5;p=ffmpeg diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 958d0244aea..878962384c7 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -184,13 +184,13 @@ struct SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat * the destination image * @return the height of the output slice */ -int sws_scale(struct SwsContext *context, uint8_t* srcSlice[], int srcStride[], +int sws_scale(struct SwsContext *context, const uint8_t* srcSlice[], 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 sws_scale_ordered(struct SwsContext *context, const uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]) attribute_deprecated; #endif