1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Removed an unnecessary toFile->SetReadAhead() from cutter.c

This commit is contained in:
Klaus Schmidinger 2006-02-12 10:08:52 +01:00
parent c5a5f09845
commit 5820beed02
3 changed files with 9 additions and 5 deletions

View File

@ -4316,3 +4316,8 @@ Video Disk Recorder Revision History
beginning or end of the menu (reported by Helmut Auer). beginning or end of the menu (reported by Helmut Auer).
- Added cSkin::GetTextAreaWidth() and cSkin::GetTextAreaFont(), so that a plugin - Added cSkin::GetTextAreaWidth() and cSkin::GetTextAreaFont(), so that a plugin
that wants to do special text formatting can do so (thanks to Alexander Rieger). 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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 #ifndef __CONFIG_H
@ -19,8 +19,8 @@
#include "i18n.h" #include "i18n.h"
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.3.42" #define VDRVERSION "1.3.43"
#define VDRVERSNUM 10342 // Version * 10000 + Major * 100 + Minor #define VDRVERSNUM 10343 // Version * 10000 + Major * 100 + Minor
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "cutter.h"
@ -67,7 +67,6 @@ void cCuttingThread::Action(void)
if (!fromFile || !toFile) if (!fromFile || !toFile)
return; return;
fromFile->SetReadAhead(MEGABYTE(20)); fromFile->SetReadAhead(MEGABYTE(20));
toFile->SetReadAhead(MEGABYTE(20));
int Index = Mark->position; int Index = Mark->position;
Mark = fromMarks.Next(Mark); Mark = fromMarks.Next(Mark);
int FileSize = 0; int FileSize = 0;