From patchwork Sun Dec 11 21:51:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 1758 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.65.86 with SMTP id o83csp1369707vsa; Sun, 11 Dec 2016 13:51:39 -0800 (PST) X-Received: by 10.194.127.104 with SMTP id nf8mr47156247wjb.39.1481493099560; Sun, 11 Dec 2016 13:51:39 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id bo9si41990034wjb.202.2016.12.11.13.51.39; Sun, 11 Dec 2016 13:51:39 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1182968A10F; Sun, 11 Dec 2016 23:51:33 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-qmta-pe01-3.mx.upcmail.net (vie01a-qmta-pe01-3.mx.upcmail.net [62.179.121.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7DD6D68A0BE for ; Sun, 11 Dec 2016 23:51:27 +0200 (EET) Received: from [172.31.218.34] (helo=vie01a-dmta-pe02-1.mx.upcmail.net) by vie01a-pqmta-pe01.mx.upcmail.net with esmtp (Exim 4.87) (envelope-from ) id 1cGC1r-0004HB-HS for ffmpeg-devel@ffmpeg.org; Sun, 11 Dec 2016 22:51:31 +0100 Received: from [172.31.216.43] (helo=vie01a-pemc-psmtp-pe01) by vie01a-dmta-pe02.mx.upcmail.net with esmtp (Exim 4.87) (envelope-from ) id 1cGC1l-0008L7-Jz for ffmpeg-devel@ffmpeg.org; Sun, 11 Dec 2016 22:51:25 +0100 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe01 with SMTP @ mailcloud.upcmail.net id JlrQ1u00R0S5wYM01lrRb4; Sun, 11 Dec 2016 22:51:25 +0100 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 11 Dec 2016 22:51:23 +0100 Message-Id: <20161211215123.14576-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.11.0 Subject: [FFmpeg-devel] [PATCH] avutil/imgutils: Clarify doxy for av_image_check_size2() X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Michael Niedermayer --- libavutil/imgutils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/imgutils.h b/libavutil/imgutils.h index 19f34deced..40aee8b98e 100644 --- a/libavutil/imgutils.h +++ b/libavutil/imgutils.h @@ -193,7 +193,8 @@ int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *lo /** * Check if the given dimension of an image is valid, meaning that all - * bytes of the image can be addressed with a signed int. + * bytes of a plane of an image with the specified pix_fmt can be addressed + * with a signed int. * * @param w the width of the picture * @param h the height of the picture