diff mbox

[FFmpeg-devel] avutil/imgutils: Clarify doxy for av_image_check_size2()

Message ID 20161211215123.14576-1-michael@niedermayer.cc
State Accepted
Commit d4c1cc2b876af1e8f1a8ca258bf092b3baa31245
Headers show

Commit Message

Michael Niedermayer Dec. 11, 2016, 9:51 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavutil/imgutils.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Andreas Cadhalpun Dec. 15, 2016, 1:22 a.m. UTC | #1
On 11.12.2016 22:51, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  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
> 

LGTM.

Best regards,
Andreas
Michael Niedermayer Dec. 16, 2016, 1:06 a.m. UTC | #2
On Thu, Dec 15, 2016 at 02:22:07AM +0100, Andreas Cadhalpun wrote:
> On 11.12.2016 22:51, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> > ---
> >  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
> > 
> 
> LGTM.

applied

thx

[...]
diff mbox

Patch

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