From 5820beed0233f95f64ea0665cfafe1847aa90074 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 12 Feb 2006 10:08:52 +0100 Subject: [PATCH] Removed an unnecessary toFile->SetReadAhead() from cutter.c --- HISTORY | 5 +++++ config.h | 6 +++--- cutter.c | 3 +-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HISTORY b/HISTORY index 0302c8fd..2a817085 100644 --- a/HISTORY +++ b/HISTORY @@ -4316,3 +4316,8 @@ Video Disk Recorder Revision History beginning or end of the menu (reported by Helmut Auer). - Added cSkin::GetTextAreaWidth() and cSkin::GetTextAreaFont(), so that a plugin that wants to do special text formatting can do so (thanks to Alexander Rieger). + +2006-02-12: Version 1.3.43 + +- Removed an unnecessary toFile->SetReadAhead() from cutter.c (thanks to Artur + Skawina). diff --git a/config.h b/config.h index 187767fe..5e992858 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.243 2006/01/29 17:24:53 kls Exp $ + * $Id: config.h 1.244 2006/02/12 10:07:44 kls Exp $ */ #ifndef __CONFIG_H @@ -19,8 +19,8 @@ #include "i18n.h" #include "tools.h" -#define VDRVERSION "1.3.42" -#define VDRVERSNUM 10342 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.3.43" +#define VDRVERSNUM 10343 // Version * 10000 + Major * 100 + Minor #define MAXPRIORITY 99 #define MAXLIFETIME 99 diff --git a/cutter.c b/cutter.c index cb5afd39..5b82cc54 100644 --- a/cutter.c +++ b/cutter.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: cutter.c 1.14 2006/02/05 11:06:47 kls Exp $ + * $Id: cutter.c 1.15 2006/02/12 10:07:23 kls Exp $ */ #include "cutter.h" @@ -67,7 +67,6 @@ void cCuttingThread::Action(void) if (!fromFile || !toFile) return; fromFile->SetReadAhead(MEGABYTE(20)); - toFile->SetReadAhead(MEGABYTE(20)); int Index = Mark->position; Mark = fromMarks.Next(Mark); int FileSize = 0;