From 1d9bbdbf31a17b033bebbd701e3004fe7dd5cc5b Mon Sep 17 00:00:00 2001 From: aikiriao Date: Sun, 19 Feb 2023 17:55:49 +0900 Subject: [PATCH] fix max block size not applied bug. --- tools/srla_codec/srla_codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/srla_codec/srla_codec.c b/tools/srla_codec/srla_codec.c index 4b61c22..5181a1b 100644 --- a/tools/srla_codec/srla_codec.c +++ b/tools/srla_codec/srla_codec.c @@ -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);