mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-26 15:15:54 +00:00
mov: fix stream extradata_size allocation
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
0b1bd1b205
commit
61cb9fac47
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user