Message ID | 20161211215123.14576-1-michael@niedermayer.cc |
---|---|
State | Accepted |
Commit | d4c1cc2b876af1e8f1a8ca258bf092b3baa31245 |
Headers | show |
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
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 --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
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavutil/imgutils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)