[vlc-devel] [PATCH 0/1] block reallocate code to use PAGE_SIZE

Ilkka Ollakka ileoo at videolan.org
Sat Oct 4 10:44:56 CEST 2014


This changes block_Reallocate to check PAGE_SIZE for shrinking. As code
comment states, not sure if that limit is significantly better than current 2k and
I'm not sure if all the platforms we try to support have that
SC_PAGE_SIZE. So please test

Ilkka Ollakka (1):
  block: use PAGE_SIZE to determine when to do malloc+memcpy

 src/misc/block.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
1.8.4.5




More information about the vlc-devel mailing list