diff --git a/tools/ismindex.c b/tools/ismindex.c
index b1877904b3..4dc3e125e3 100644
--- a/tools/ismindex.c
+++ b/tools/ismindex.c
@@ -51,7 +51,7 @@ static int usage(const char *argv0, int ret)
struct MoofOffset {
int64_t time;
int64_t offset;
- int duration;
+ int64_t duration;
};
struct Track {
@@ -431,7 +431,7 @@ static void print_track_chunks(FILE *out, struct Tracks *tracks, int main,
fprintf(stderr, "Mismatched duration of %s chunk %d in %s and %s\n",
type, i, track->name, tracks->tracks[j]->name);
}
- fprintf(out, "\t\t\n",
+ fprintf(out, "\t\t\n",
i, track->offsets[i].duration);
}
}