Skip to content

Commit

Permalink
fix max block size not applied bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
aikiriao committed Feb 19, 2023
1 parent a8e1fde commit 1d9bbdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/srla_codec/srla_codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ int main(int argc, char** argv)
/* ブロックあたりサンプル数の取得 */
if (CommandLineParser_GetOptionAcquired(command_line_spec, "max-block-size") == COMMAND_LINE_PARSER_TRUE) {
char *e;
const char *lstr = CommandLineParser_GetArgumentString(command_line_spec, "block-size");
const char *lstr = CommandLineParser_GetArgumentString(command_line_spec, "max-block-size");
max_num_block_samples = (uint32_t)strtol(lstr, &e, 10);
if (*e != '\0') {
fprintf(stderr, "%s: invalid number of block samples. (irregular character found in %s at %s)\n", argv[0], lstr, e);
Expand Down

0 comments on commit 1d9bbdb

Please sign in to comment.