Mercurial > libavformat.hg
diff img2.c @ 2762:137eec75e3df libavformat
Optimize memory management to create an av_packet from multiple slices:
- remove memmove to pack the data, instead copy only the used areas
from the temp buffer in their final position
- use the minimum possible size for the av_packet (relevant when some
slices are missing)
author | rtogni |
---|---|
date | Sun, 18 Nov 2007 22:40:02 +0000 |
parents | b21c2af60bc9 |
children | d52c718e83f9 |