1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavu/opt: handle UINT options as the POD they are

Fixes operations on array UINT options.
This commit is contained in:
Anton Khirnov 2024-08-26 11:02:24 +02:00
parent 450a3f58ed
commit 4ef149249a

View File

@ -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;