Browse Source

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

tags/n2.8
Anton Khirnov 10 years ago
parent
commit
0e7c0ec344
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/hevc.c

+ 1
- 1
libavformat/hevc.c View File

@@ -636,7 +636,7 @@ static uint8_t *nal_unit_extract_rbsp(const uint8_t *src, uint32_t src_len,
uint8_t *dst; uint8_t *dst;
uint32_t i, len; uint32_t i, len;


dst = av_malloc(src_len);
dst = av_malloc(src_len + FF_INPUT_BUFFER_PADDING_SIZE);
if (!dst) if (!dst)
return NULL; return NULL;




Loading…
Cancel
Save