mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '0e7c0ec344f542e68e3cc9680e8d41dffeffdb4e'
* commit '0e7c0ec344f542e68e3cc9680e8d41dffeffdb4e': lavf/hevc: pad the RBSP buffer as required by the bistream reader Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
b457da4ce2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user