修改解析range_frame_count

This commit is contained in:
猪小乐 2023-06-09 11:51:22 +08:00
parent 0f76bed888
commit f6999b21ab

View File

@ -1111,9 +1111,9 @@ int main (int argc, char *argv[])
ranges_fp = fopen(ranges_filename, "r");
if (fscanf(ranges_fp, "%s", range_line_str) != EOF) {
fprintf(stderr, "%s\n", range_line_str);
range_frame_count = parse_int(range_line_str, "range_frame_count", NULL);
if (fscanf(ranges_fp, "%s %s", range_count_str, range_frame_count_str) != EOF) {
fprintf(stderr, "%s\n", range_frame_count_str);
range_frame_count = parse_int(range_frame_count_str, "range_frame_count", NULL);
}
if (range_frame_count <= 0) {