diff options
author | Matthieu Bouron <matthieu.bouron@stupeflix.com> | 2016-07-15 10:00:34 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2016-07-15 13:27:43 +0300 |
commit | 61cb9fac47498a38dfe7623f66aa1f3696e9158c (patch) | |
tree | 9d0585775a9aed2e2c9d08b55c40f9ba071c12b0 /libavformat | |
parent | 0b1bd1b2057d41fd0ccba7317911c484a50f9207 (diff) |
mov: fix stream extradata_size allocation
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 0cb3271d44..14be96ecd7 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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); |