From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 507E94F4C3 for ; Thu, 26 Feb 2026 16:48:23 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'u4F5eXy18iHPLe82Rc1dvtKI9VIB/733NNAY9kj9JH4=', expected b'xPL3RvlX42gfZhJvG93QjfgeHvGVbWRpJ/FfTSn1hfI=')) header.d=ffmpeg.org header.i=@ffmpeg.org header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1772124489; h=mime-version : to : date : message-id : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=u4F5eXy18iHPLe82Rc1dvtKI9VIB/733NNAY9kj9JH4=; b=bEWfy96Egv6tTC2aeUocbJt3wVBuldTrVY0rHmqrDMBymGxBR02J1TZhGdjxLo9zty0ke 7/77XkDxvOeUvXwf52mZpajp/S+pzAFIm4rth52/LZs9DBWkGpk4u2McACaAewOLzeHUezt VxoZoRcVMFrHQylrL8+Bfzc3pBQl+qtlfIAu68Hrg4EskvFCz7cQqhKufb2aOBMriTDZuP+ NYcIAGxGGomgaftx2kkWmk/GETsi7fwehskd0J0qHatNXXu/mbzCFGsm3/ANt6YOwPysHIQ 1LhCQxc877FYlJP/LSL3kM5L9sClQAT4q+/6D7mrEhQUvX3vxfh3/0SQZm3A== Received: from [172.18.0.3] (unknown [172.18.0.3]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 6C17369109D; Thu, 26 Feb 2026 18:48:09 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1772124476; b=kGr+z5cfwRoH9BObFNLfIRxt+XIoQFhRks3atVc1teXlHNu6ZVeJFiMU4n6oNDWZ6bF6R fjz53LFB8998E14BEtycV6Toho7KLdtwZEPwFyAqPBU+05pip0c5k1o84qGed7bVgveXjE4 f3yT0Ur5PxmUbJ+65kLF71mjRYolIv1A15xzEClHMa15RKEdBs7yXW6dQUu2W29xyRe8+ao TZlz2qd+mfDFnWMFyO4++c5oyL2nQqVgZuS8IyrutoXqE5CumCzREmV8FjhQ9HJIlLz0avU CgRpZMCFxetLcCpmLSxw90wSX/zUU1Y5z2X5lSk1MEqMDzHSkPZR/gyUNv6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1772124476; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=cZU94/ATB4Xw1ZqOPnn0dpTFnUlkxhsnO+MxkHPFGM4=; b=cnx/YfO126FNlvbJ4SyRDe/Gx80lKJUQqKYpMXXIWHn4UX3EsYGoxv9GLU+1dlx0bEux+ unDctKawHEpG4oEozTvZnxApH1zfcVoVn6qn/8bISB40LYgoB0AMmkxVR56sT5mSVgoThoC OWoz6Ul28IG9Op1qc4gXuH9iSSfNeUl51HwefVRUEFXFxXeIGLZlwm2c7O6XY5oV/iOjWlx 7LpBv03ghcZiNIK1sYBKjHwcaYgKh50FdEjAz7FQfhPdh8G8Pwa90caPdZ51uNfllqBBzcm w6kX7v2Elu0MlkHVwwLVyXlMti4el3eFx0nHaffGhUQoUqYOkvf8kWmuDbQg== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none; dmarc=pass header.from=ffmpeg.org policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=ffmpeg.org header.i=@ffmpeg.org; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=ffmpeg.org policy.dmarc=quarantine DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1772124468; h=content-type : mime-version : content-transfer-encoding : from : to : reply-to : subject : date : from; bh=xPL3RvlX42gfZhJvG93QjfgeHvGVbWRpJ/FfTSn1hfI=; b=l0Ly7D6nZy2SabUhGtGnRwaCgA3wFmPAvZ9ua+wrEoNsfl/MHLFkbu78DnTTBcBh7mMeX UCwIY/whcmddZeoFVKRzws9YuhmVJeZxsmvf22A0/mfK73ObzMNvpqLWdV12wB9+WNtjECd GUYBn5bJQWAD7Tx61va+HrwLtJWJ4VnbDRn9IvT655UaRmYndfiEUIcwN0dLLS03PicFc7z LY9O56U6ANE5LY1cB6x64JLcuu+4aow9p4RZ2nQQbUqMMCID6SPn91He72Qcl3tFl05tfiQ +l6yBCWBWIiAP5Y4HWg4pRtTnMzN9mkWA3O8Z6HpAvWBVCc6eHIH42sPUDPQ== MIME-Version: 1.0 To: ffmpeg-devel@ffmpeg.org Date: Thu, 26 Feb 2026 16:47:47 -0000 Message-ID: <177212446810.25.18432853981955797234@29965ddac10e> Message-ID-Hash: ZRAAODQMCJG52ZCEPJFSE2MFPKMJWY22 X-Message-ID-Hash: ZRAAODQMCJG52ZCEPJFSE2MFPKMJWY22 X-MailFrom: code@ffmpeg.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PR] swscale/swscale: fix typos (PR #22296) List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Ramiro Polla via ffmpeg-devel Cc: Ramiro Polla Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: PR #22296 opened by Ramiro Polla (ramiro) URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22296 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22296.patch >>From f5ca83af84004c361b89d3fe6da38e6413b7d640 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Thu, 26 Feb 2026 17:46:26 +0100 Subject: [PATCH] swscale/swscale: fix typos --- libswscale/swscale.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 8e6c06f504..1cfd4068f9 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -440,7 +440,7 @@ int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt); * Initialize the swscaler context sws_context. * * This function is considered deprecated, and provided only for backwards - * compatibility with sws_scale() and sws_start_frame(). The preferred way to + * compatibility with sws_scale() and sws_frame_start(). The preferred way to * use libswscale is to set all frame properties correctly and call * sws_scale_frame() directly, without explicitly initializing the context. * @@ -485,8 +485,8 @@ SwsContext *sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, /** * Scale the image slice in srcSlice and put the resulting scaled * slice in the image in dst. A slice is a sequence of consecutive - * rows in an image. Requires a context that has been previously - * been initialized with sws_init_context(). + * rows in an image. Requires a context that has previously been + * initialized with sws_init_context(). * * Slices have to be provided in sequential order, either in * top-bottom or bottom-top order. If slices are provided in @@ -516,8 +516,7 @@ int sws_scale(SwsContext *c, const uint8_t *const srcSlice[], /** * Initialize the scaling process for a given pair of source/destination frames. * Must be called before any calls to sws_send_slice() and sws_receive_slice(). - * Requires a context that has been previously been initialized with - * sws_init_context(). + * Requires a context that has previously been initialized with sws_init_context(). * * This function will retain references to src and dst, so they must both use * refcounted buffers (if allocated by the caller, in case of dst). @@ -588,7 +587,7 @@ int sws_receive_slice(SwsContext *c, unsigned int slice_start, unsigned int slice_height); /** - * Get the alignment required for slices. Requires a context that has been + * Get the alignment required for slices. Requires a context that has * previously been initialized with sws_init_context(). * * @param c The scaling context @@ -600,8 +599,8 @@ unsigned int sws_receive_slice_alignment(const SwsContext *c); /** * @param c the scaling context - * @param dstRange flag indicating the while-black range of the output (1=jpeg / 0=mpeg) - * @param srcRange flag indicating the while-black range of the input (1=jpeg / 0=mpeg) + * @param dstRange flag indicating the white-black range of the output (1=jpeg / 0=mpeg) + * @param srcRange flag indicating the white-black range of the input (1=jpeg / 0=mpeg) * @param table the yuv2rgb coefficients describing the output yuv space, normally ff_yuv2rgb_coeffs[x] * @param inv_table the yuv2rgb coefficients describing the input yuv space, normally ff_yuv2rgb_coeffs[x] * @param brightness 16.16 fixed point brightness correction -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org