Commit e7a57d48 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '1ec72c6c'

* commit '1ec72c6c':
  libx264: Make sure the extradata are padded
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents 368e5216 1ec72c6c
......@@ -795,7 +795,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_mallocz(s + AV_INPUT_BUFFER_PADDING_SIZE);
if (!p)
return AVERROR(ENOMEM);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment