ffmpeg | branch: master | Matthieu Bouron <matthieu.bou...@stupeflix.com> | Wed Jul 13 22:46:44 2016 +0200| [6c8942cdfb8b7228237842cdef2615100e0f1d59] | committer: Matthieu Bouron
lavf/mov: fix stream extradata_size allocation Fixes CID 1363963. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6c8942cdfb8b7228237842cdef2615100e0f1d59 --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 2712364..3843ceb 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -2336,7 +2336,7 @@ static int mov_read_stsd(MOVContext *c, AVIOContext *pb, MOVAtom atom) if (!sc->extradata) return AVERROR(ENOMEM); - 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog