summaryrefslogtreecommitdiff
path: root/tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools.c')
-rw-r--r--tools.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools.c b/tools.c
index 2a5ec8f..e6d784a 100644
--- a/tools.c
+++ b/tools.c
@@ -400,14 +400,14 @@ void WorkerThread::Cut(string From,string To)
cMark *mark;
const char *error=NULL;
uchar buffer[MAXFRAMESIZE];
- int index,currentfilenumber=0,filesize=0,lastiframe=0;
+ int index,currentfilenumber=0,lastiframe=0;
bool lastmark=false,cutin=true;
off_t maxVideoFileSize=MEGABYTE(Setup.MaxVideoFileSize);
#if VDRVERSNUM > 10713
bool isPesRecording;
uint16_t filenumber;
- off_t fileoffset;
+ off_t fileoffset,filesize=0;
int length;
bool picturetype;
@@ -430,7 +430,7 @@ void WorkerThread::Cut(string From,string To)
}
#else
uchar filenumber;
- int fileoffset,length;
+ int fileoffset,length,filesize=0;
uchar picturetype;
if(frommarks.Load(From.c_str()) && frommarks.Count())