diff options
author | Damiano Galassi <[email protected]> | 2018-08-22 12:41:00 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2018-08-22 12:41:00 +0200 |
commit | b703c42420c4e832d86596c2cd9194ea4644b3c3 (patch) | |
tree | 8bdb5b8c3934fc804a6b9c744efdbfea65b47b70 /libhb/fifo.c | |
parent | 7767d0f28de1accae535d422cd295c46f0815c7d (diff) |
libhb: use the same padding as FFmpeg when allocating buffer.
Diffstat (limited to 'libhb/fifo.c')
-rw-r--r-- | libhb/fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/fifo.c b/libhb/fifo.c index 8d869c8d9..02af4c7f5 100644 --- a/libhb/fifo.c +++ b/libhb/fifo.c @@ -348,7 +348,7 @@ hb_buffer_t * hb_buffer_init_internal( int size ) // Note that we can't simply align the end of our buffer because // sometimes we feed data to these libraries starting from arbitrary // points within the buffer. - int alloc = size + 16; + int alloc = size + AV_INPUT_BUFFER_PADDING_SIZE; hb_fifo_t *buffer_pool = size_to_pool( alloc ); if( buffer_pool ) |