Commit 9f91e7de authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '9e80eda2'

* commit '9e80eda2':
  h264_mp4toannexb_bsf: return a padded buffer
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 0a5d22a1 9e80eda2
......@@ -40,7 +40,7 @@ static int alloc_and_copy(uint8_t **poutbuf, int *poutbuf_size,
void *tmp;
*poutbuf_size += sps_pps_size + in_size + nal_header_size;
tmp = av_realloc(*poutbuf, *poutbuf_size);
tmp = av_realloc(*poutbuf, *poutbuf_size + FF_INPUT_BUFFER_PADDING_SIZE);
if (!tmp)
return AVERROR(ENOMEM);
*poutbuf = tmp;
......
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