aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-08-26 11:02:24 +0200
committerAnton Khirnov <anton@khirnov.net>2024-09-06 13:59:04 +0200
commit4ef149249a51d7807fea6c1a5bd98a21921f2130 (patch)
tree1bc923bc019963b5bda62da56ce6293e13876f38
parent450a3f58edb22d28912a5e65dc08d9e2fb805066 (diff)
downloadffmpeg-4ef149249a51d7807fea6c1a5bd98a21921f2130.tar.gz
lavu/opt: handle UINT options as the POD they are
Fixes operations on array UINT options.
-rw-r--r--libavutil/opt.c1
1 files changed, 1 insertions, 0 deletions
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;