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

Michael Niedermayer michael at niedermayer.cc
Sun Dec 11 23:51:23 EET 2016


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
-- 
2.11.0



More information about the ffmpeg-devel mailing list