提交 0e7c0ec3 编写于 作者: A Anton Khirnov

lavf/hevc: pad the RBSP buffer as required by the bistream reader

上级 1761ab83
......@@ -636,7 +636,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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册