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

Michael Niedermayer michael at niedermayer.cc
Sat May 4 03:41:53 EEST 2024


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Whats the most studid thing your enemy could do ? Blow himself up
Whats the most studid thing you could do ? Give up your rights and
freedom because your enemy blew himself up.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240504/2afb962b/attachment.sig>


More information about the ffmpeg-devel mailing list