projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
6c655b4
)
Merge commit '58c95448e42d34910b939363949ba1a92c06b0b0'
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 16 Jun 2013 22:44:32 +0000
(
00:44
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 16 Jun 2013 22:44:32 +0000
(
00:44
+0200)
* commit '
58c95448e42d34910b939363949ba1a92c06b0b0
':
smacker: pad the extradata allocation
Conflicts:
libavformat/smacker.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/smacker.c
patch
|
blob
|
history
diff --git
a/libavformat/smacker.c
b/libavformat/smacker.c
index
e04a214
..
7132a85
100644
(file)
--- a/
libavformat/smacker.c
+++ b/
libavformat/smacker.c
@@
-210,7
+210,8
@@
static int smacker_read_header(AVFormatContext *s)
/* load trees to extradata, they will be unpacked by decoder */
- st->codec->extradata = av_malloc(smk->treesize + 16 + FF_INPUT_BUFFER_PADDING_SIZE);
+ st->codec->extradata = av_mallocz(smk->treesize + 16 +
+ FF_INPUT_BUFFER_PADDING_SIZE);
st->codec->extradata_size = smk->treesize + 16;
if(!st->codec->extradata){
av_log(s, AV_LOG_ERROR, "Cannot allocate %i bytes of extradata\n", smk->treesize + 16);