[FFmpeg-devel] [PATCH 02/42] lavu/opt: handle UINT options as the POD they are

Anton Khirnov anton at khirnov.net
Tue Aug 27 18:04:42 EEST 2024


Fixes operations on array UINT options.
---
 libavutil/opt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/opt.c b/libavutil/opt.c
index e07ec8ce0f..d2af76478c 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -98,6 +98,7 @@ static int opt_is_pod(enum AVOptionType type)
     case AV_OPT_TYPE_DURATION:
     case AV_OPT_TYPE_COLOR:
     case AV_OPT_TYPE_BOOL:
+    case AV_OPT_TYPE_UINT:
         return 1;
     }
     return 0;
-- 
2.43.0



More information about the ffmpeg-devel mailing list