[f-spot/FSPOT_0_6_0_STABLE] reduce the buffer size to 64k



commit 59d0666e3842b533c39e5641b082428a3c348fc3
Author: Stephane Delcroix <stephane delcroix org>
Date:   Wed Aug 19 13:03:39 2009 +0200

    reduce the buffer size to 64k
    
    this fixes bgo 591697

 src/Loaders/GdkImageLoader.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Loaders/GdkImageLoader.cs b/src/Loaders/GdkImageLoader.cs
index 511aa19..ffd7273 100644
--- a/src/Loaders/GdkImageLoader.cs
+++ b/src/Loaders/GdkImageLoader.cs
@@ -143,7 +143,7 @@ namespace FSpot.Loaders {
 
 #region private stuffs
 		System.IO.Stream image_stream;
-		const int count = 1 << 20;
+		const int count = 1 << 16;
 		byte [] buffer = new byte [count];
 		bool notify_completed = false;
 		Rectangle damage;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]