Commit b457da4c authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '0e7c0ec3'

* commit '0e7c0ec3':
  lavf/hevc: pad the RBSP buffer as required by the bistream reader
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 4f5c2e65 0e7c0ec3
......@@ -644,7 +644,7 @@ static uint8_t *nal_unit_extract_rbsp(const uint8_t *src, uint32_t src_len,
uint8_t *dst;
uint32_t i, len;
dst = av_malloc(src_len);
dst = av_malloc(src_len + FF_INPUT_BUFFER_PADDING_SIZE);
if (!dst)
return NULL;
......
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