diff mbox series

[FFmpeg-devel] avutil/opt: Clarify type of integers

Message ID 20240503074356.56785-1-marcus@marcusspencer.xyz
State Accepted
Commit 5e7180864fd3bda8e37f55181c8bdbc5fc9a1bf1
Headers show
Series [FFmpeg-devel] avutil/opt: Clarify type of integers | expand

Commit Message

Marcus B Spencer May 3, 2024, 7:43 a.m. UTC
Clarify comment regarding type of integers regarding AV_OPT_TYPE_IMAGE_SIZE.

Signed-off-by: Marcus B Spencer <marcus@marcusspencer.xyz>
---
 libavutil/opt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer May 4, 2024, 12:41 a.m. UTC | #1
On Fri, May 03, 2024 at 02:43:56AM -0500, Marcus B Spencer wrote:
> Clarify comment regarding type of integers regarding AV_OPT_TYPE_IMAGE_SIZE.
> 
> Signed-off-by: Marcus B Spencer <marcus@marcusspencer.xyz>
> ---
>  libavutil/opt.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/opt.h b/libavutil/opt.h
> index e8f4e69705..2fdfb65c23 100644
> --- a/libavutil/opt.h
> +++ b/libavutil/opt.h
> @@ -252,7 +252,7 @@ enum AVOptionType{
>      AV_OPT_TYPE_DICT,
>      AV_OPT_TYPE_UINT64,
>      AV_OPT_TYPE_CONST,
> -    AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive integers
> +    AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints
>      AV_OPT_TYPE_PIXEL_FMT,
>      AV_OPT_TYPE_SAMPLE_FMT,
>      AV_OPT_TYPE_VIDEO_RATE, ///< offset must point to AVRational

will apply

thx

[...]
diff mbox series

Patch

diff --git a/libavutil/opt.h b/libavutil/opt.h
index e8f4e69705..2fdfb65c23 100644
--- a/libavutil/opt.h
+++ b/libavutil/opt.h
@@ -252,7 +252,7 @@  enum AVOptionType{
     AV_OPT_TYPE_DICT,
     AV_OPT_TYPE_UINT64,
     AV_OPT_TYPE_CONST,
-    AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive integers
+    AV_OPT_TYPE_IMAGE_SIZE, ///< offset must point to two consecutive ints
     AV_OPT_TYPE_PIXEL_FMT,
     AV_OPT_TYPE_SAMPLE_FMT,
     AV_OPT_TYPE_VIDEO_RATE, ///< offset must point to AVRational