[FFmpeg-devel] [PATCH 1/5] fftools/cmdutils: group related calls together
Anton Khirnov
anton at khirnov.net
Mon Oct 7 13:50:12 EEST 2024
For readability only, should have no functional effect.
---
fftools/cmdutils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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])
--
2.43.0
More information about the ffmpeg-devel
mailing list