]> git.vomp.tv Git - vompserver.git/commitdiff
Allow up to 500k getBlocks
authorChris Tallon <chris@vomp.tv>
Sun, 14 Aug 2005 14:25:58 +0000 (14:25 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 14 Aug 2005 14:25:58 +0000 (14:25 +0000)
recplayer.c

index a13a64e35cb19864f9af5c5e2aa9952415b9bee8..0968d44df764db0fe840e2434d503e4bcb3dc34a 100644 (file)
@@ -97,7 +97,7 @@ ULLONG RecPlayer::getTotalLength()
 
 unsigned long RecPlayer::getBlock(unsigned char* buffer, ULLONG position, unsigned long amount)
 {
-  if ((amount > totalLength) || (amount > 100000))
+  if ((amount > totalLength) || (amount > 500000))
   {
     log->log("RecPlayer", Log::DEBUG, "Amount %lu requested and rejected", amount);
     return 0;