OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f41e37b
)
lavf/mov: fix stream extradata_size allocation
author
Matthieu Bouron
<matthieu.bouron@stupeflix.com>
Wed, 13 Jul 2016 20:46:44 +0000
(22:46 +0200)
committer
Matthieu Bouron
<matthieu.bouron@stupeflix.com>
Thu, 14 Jul 2016 07:18:39 +0000
(09:18 +0200)
Fixes CID
1363963
.
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
2712364
..
3843ceb
100644
(file)
--- 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);