projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5ea5a24
)
libx264: Make sure the extradata are padded
author
Luca Barbato
<lu_zero@gentoo.org>
Tue, 20 Oct 2015 19:12:30 +0000
(21:12 +0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Fri, 23 Oct 2015 09:13:35 +0000
(11:13 +0200)
libavcodec/libx264.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/libx264.c
b/libavcodec/libx264.c
index
b9ec150
..
bcbdf84
100644
(file)
--- a/
libavcodec/libx264.c
+++ b/
libavcodec/libx264.c
@@
-589,7
+589,7
@@
FF_ENABLE_DEPRECATION_WARNINGS
int nnal, s, i;
s = x264_encoder_headers(x4->enc, &nal, &nnal);
- avctx->extradata = p = av_malloc
(s
);
+ avctx->extradata = p = av_malloc
z(s + AV_INPUT_BUFFER_PADDING_SIZE
);
if (!p)
return AVERROR(ENOMEM);