summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ismindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ismindex.c b/tools/ismindex.c
index 7601f62e06..d355cffe38 100644
--- a/tools/ismindex.c
+++ b/tools/ismindex.c
@@ -342,7 +342,7 @@ static int read_tfra(struct Tracks *tracks, int start_index, AVIOContext *f)
}
fieldlength = avio_rb32(f);
track->chunks = avio_rb32(f);
- track->offsets = av_mallocz_array(track->chunks, sizeof(*track->offsets));
+ track->offsets = av_calloc(track->chunks, sizeof(*track->offsets));
if (!track->offsets) {
track->chunks = 0;
ret = AVERROR(ENOMEM);