mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-30 16:37:44 +00:00
add OPT_INT64 option
Originally committed as revision 8554 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a4072c453b
commit
ffdf9a1f2d
2 changed files with 4 additions and 0 deletions
|
@ -98,6 +98,8 @@ unknown_opt:
|
|||
*po->u.int_arg = 1;
|
||||
} else if (po->flags & OPT_INT) {
|
||||
*po->u.int_arg = atoi(arg);
|
||||
} else if (po->flags & OPT_INT64) {
|
||||
*po->u.int64_arg = atoll(arg);
|
||||
} else if (po->flags & OPT_FLOAT) {
|
||||
*po->u.float_arg = atof(arg);
|
||||
} else if (po->flags & OPT_FUNC2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue