diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-10-07 11:46:15 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-10-10 09:09:29 +0200 |
commit | e56d676050d38949947f91de1fcede45897a5817 (patch) | |
tree | c67f2591bf2c6906256ba57f6678b6b84c92b515 | |
parent | c4122406f6d2726aea833480a2a8e345833dd881 (diff) | |
download | ffmpeg-e56d676050d38949947f91de1fcede45897a5817.tar.gz |
fftools/cmdutils: group related calls together
For readability only, should have no functional effect.
-rw-r--r-- | fftools/cmdutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 9beed94ead..9eb49dbf20 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -551,11 +551,12 @@ static void check_options(const OptionDef *po) void parse_loglevel(int argc, char **argv, const OptionDef *options) { - int idx = locate_option(argc, argv, options, "loglevel"); + int idx; char *env; check_options(options); + idx = locate_option(argc, argv, options, "loglevel"); if (!idx) idx = locate_option(argc, argv, options, "v"); if (idx && argv[idx + 1]) |