summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-02-28 11:41:55 +0200
committerMartin Storsjö <martin@martin.st>2014-03-01 00:24:42 +0200
commit3cbc7ef3d60b6af3617079f24a4f401d83353003 (patch)
tree1e7c45ea153342fc33fbdb59a0a0e9bc8965a7fe /tools
parentd1f9563d502037239185c11578cc614bdf0c5870 (diff)
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/qt-faststart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index f33d6fa80c..88f5b48785 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -77,7 +77,7 @@
#define CO64_ATOM QT_ATOM('c', 'o', '6', '4')
#define ATOM_PREAMBLE_SIZE 8
-#define COPY_BUFFER_SIZE 1024
+#define COPY_BUFFER_SIZE 65536
int main(int argc, char *argv[])
{