Skip to content

Commit

Permalink
Fixed error msg.
Browse files Browse the repository at this point in the history
  • Loading branch information
nolan-veed committed Nov 23, 2023
1 parent dca84a9 commit 298e462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/roc_recv/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ int main(int argc, char** argv) {

if (args.frame_len_given) {
if (!core::parse_duration(args.frame_len_arg, io_config.frame_length)) {
roc_log(LogError, "invalid --frame-length: bad format");
roc_log(LogError, "invalid --frame-len: bad format");
return 1;
}
if (receiver_config.common.output_sample_spec.ns_2_samples_overall(
io_config.frame_length)
<= 0) {
roc_log(LogError, "invalid --frame-length: should be > 0");
roc_log(LogError, "invalid --frame-len: should be > 0");
return 1;
}
}
Expand Down

0 comments on commit 298e462

Please sign in to comment.