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

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Thu Dec 15 03:22:07 EET 2016


On 11.12.2016 22:51, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael at 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


More information about the ffmpeg-devel mailing list