修改解析range_frame_count
This commit is contained in:
parent
0f76bed888
commit
f6999b21ab
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user