forked from FFmpeg/FFmpeg
lavu/opt: handle UINT options as the POD they are
Fixes operations on array UINT options.
This commit is contained in:
parent
450a3f58ed
commit
4ef149249a
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ static int opt_is_pod(enum AVOptionType type)
|
||||||
case AV_OPT_TYPE_DURATION:
|
case AV_OPT_TYPE_DURATION:
|
||||||
case AV_OPT_TYPE_COLOR:
|
case AV_OPT_TYPE_COLOR:
|
||||||
case AV_OPT_TYPE_BOOL:
|
case AV_OPT_TYPE_BOOL:
|
||||||
|
case AV_OPT_TYPE_UINT:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue