Skip to content

Commit

Permalink
cmdutils: fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Barsnick <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
barsnick authored and michaelni committed Oct 9, 2016
1 parent 468c596 commit 3e5d27d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmdutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2112,7 +2112,7 @@ static int print_device_sources(AVInputFormat *fmt, AVDictionary *opts)
if (!fmt || !fmt->priv_class || !AV_IS_INPUT_DEVICE(fmt->priv_class->category))
return AVERROR(EINVAL);

printf("Audo-detected sources for %s:\n", fmt->name);
printf("Auto-detected sources for %s:\n", fmt->name);
if (!fmt->get_device_list) {
ret = AVERROR(ENOSYS);
printf("Cannot list sources. Not implemented.\n");
Expand Down Expand Up @@ -2142,7 +2142,7 @@ static int print_device_sinks(AVOutputFormat *fmt, AVDictionary *opts)
if (!fmt || !fmt->priv_class || !AV_IS_OUTPUT_DEVICE(fmt->priv_class->category))
return AVERROR(EINVAL);

printf("Audo-detected sinks for %s:\n", fmt->name);
printf("Auto-detected sinks for %s:\n", fmt->name);
if (!fmt->get_device_list) {
ret = AVERROR(ENOSYS);
printf("Cannot list sinks. Not implemented.\n");
Expand Down
4 changes: 2 additions & 2 deletions cmdutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -450,13 +450,13 @@ int show_devices(void *optctx, const char *opt, const char *arg);

#if CONFIG_AVDEVICE
/**
* Print a listing containing audodetected sinks of the output device.
* Print a listing containing autodetected sinks of the output device.
* Device name with options may be passed as an argument to limit results.
*/
int show_sinks(void *optctx, const char *opt, const char *arg);

/**
* Print a listing containing audodetected sources of the input device.
* Print a listing containing autodetected sources of the input device.
* Device name with options may be passed as an argument to limit results.
*/
int show_sources(void *optctx, const char *opt, const char *arg);
Expand Down

0 comments on commit 3e5d27d

Please sign in to comment.