diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 00d90a67e4..a68d2b881b 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2521,7 +2521,7 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH } /** - * swscale warper, so we don't need to export the SwsContext. + * swscale wrapper, so we don't need to export the SwsContext. * assumes planar YUV to be in YUV order instead of YVU */ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, @@ -2575,7 +2575,7 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, } /** - * swscale warper, so we don't need to export the SwsContext + * swscale wrapper, so we don't need to export the SwsContext */ int sws_scale_ordered(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]){ diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 6f15fc133f..96ec78c48e 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -42,8 +42,8 @@ typedef struct SwsContext{ AVClass *av_class; /** - * - * Note the src,dst,srcStride,dstStride will be copied, in the sws_scale() warper so they can freely be modified here + * Note that src, dst, srcStride, dstStride will be copied in the + * sws_scale() wrapper so they can be freely modified here. */ SwsFunc swScale; int srcW, srcH, dstH;