Commit 61cb9fac authored by Matthieu Bouron's avatar Matthieu Bouron Committed by Martin Storsjö

mov: fix stream extradata_size allocation

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 0b1bd1b2
......@@ -1900,7 +1900,7 @@ static int mov_read_stsd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
return AVERROR(ENOMEM);
sc->stsd_count = entries;
sc->extradata_size = av_mallocz_array(sc->stsd_count, sizeof(sc->extradata_size));
sc->extradata_size = av_mallocz_array(sc->stsd_count, sizeof(*sc->extradata_size));
if (!sc->extradata_size)
return AVERROR(ENOMEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment