OSDN Git Service

qt-faststart: Increase the copy buffer size to 64 KB
authorMartin Storsjö <martin@martin.st>
Fri, 28 Feb 2014 09:41:55 +0000 (11:41 +0200)
committerMartin Storsjö <martin@martin.st>
Fri, 28 Feb 2014 22:24:42 +0000 (00:24 +0200)
commit3cbc7ef3d60b6af3617079f24a4f401d83353003
tree1e7c45ea153342fc33fbdb59a0a0e9bc8965a7fe
parentd1f9563d502037239185c11578cc614bdf0c5870
qt-faststart: Increase the copy buffer size to 64 KB

Copying data in chunks of 1 KB is a little wasteful.

64 KB should still easily fit on the stack, so there's no need
to allocate it dynamically.

Signed-off-by: Martin Storsjö <martin@martin.st>
tools/qt-faststart.c