summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-09-26 08:15:37 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-26 20:33:50 +0200
commit182cbe433aea20b0d9627d40de7c75713ec736db (patch)
tree86c5c5d6b80fc435a51beefde15ff8f41d5c6659 /avprobe.c
parent4ca59d19485afce923c6f1d8ccef980011b76f50 (diff)
avtools: parse loglevel before all the other options.
This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/avprobe.c b/avprobe.c
index 5e83916f87..ae22dac648 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -399,6 +399,7 @@ int main(int argc, char **argv)
{
int ret;
+ parse_loglevel(argc, argv, options);
av_register_all();
init_opts();
#if CONFIG_AVDEVICE