mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 09:40:30 +00:00
don't return failure on '--audio-capture-format help'
This commit is contained in:
@@ -1009,8 +1009,8 @@ static int parse_options(int argc, char *argv[], struct ug_options *opt) {
|
||||
}
|
||||
break;
|
||||
case OPT_AUDIO_CAPTURE_FORMAT:
|
||||
if (!parse_audio_capture_format(optarg)) {
|
||||
return -EXIT_FAIL_USAGE;
|
||||
if (int ret = parse_audio_capture_format(optarg)) {
|
||||
return ret < 0 ? -EXIT_FAIL_USAGE : 1;
|
||||
}
|
||||
break;
|
||||
case OPT_AUDIO_FILTER:
|
||||
|
||||
Reference in New Issue
Block a user