diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-26 11:02:24 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-09-06 13:59:04 +0200 |
commit | 4ef149249a51d7807fea6c1a5bd98a21921f2130 (patch) | |
tree | 1bc923bc019963b5bda62da56ce6293e13876f38 | |
parent | 450a3f58edb22d28912a5e65dc08d9e2fb805066 (diff) | |
download | ffmpeg-4ef149249a51d7807fea6c1a5bd98a21921f2130.tar.gz |
lavu/opt: handle UINT options as the POD they are
Fixes operations on array UINT options.
-rw-r--r-- | libavutil/opt.c | 1 |
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; |