diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-01-06 19:08:13 +0100 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-01-07 11:02:13 +0100 |
commit | ceef1ee7674f21824a3392c654465b43b06c94fe (patch) | |
tree | e20c105177bb2d38251b6d625ef0ae3a10004a21 /ffprobe.c | |
parent | 44cc1936be0ec2d734e5e2b4e215ce2908caf46e (diff) | |
download | ffmpeg-ceef1ee7674f21824a3392c654465b43b06c94fe.tar.gz |
cmdutils: make show_usage() use av_log()
Avoid printing on stdout when show_usage is used in an error message.
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1439,9 +1439,9 @@ end: static void show_usage(void) { - printf("Simple multimedia streams analyzer\n"); - printf("usage: %s [OPTIONS] [INPUT_FILE]\n", program_name); - printf("\n"); + av_log(NULL, AV_LOG_INFO, "Simple multimedia streams analyzer\n"); + av_log(NULL, AV_LOG_INFO, "usage: %s [OPTIONS] [INPUT_FILE]\n", program_name); + av_log(NULL, AV_LOG_INFO, "\n"); } static int opt_format(const char *opt, const char *arg) |