Commit 0e7c0ec3 authored by Anton Khirnov's avatar Anton Khirnov

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

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment