diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-27 13:47:08 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-27 13:47:08 +0100 |
commit | 3c8faf1b8d37a6914c914f7c8bae720552b1182f (patch) | |
tree | 315a6b6eb117869ac33c2b94847099f4e2f8b7ca /cutter.c | |
parent | 2f9af1b549bb8b8f9c285a33b0d19b3e9b9c5183 (diff) | |
download | vdr-3c8faf1b8d37a6914c914f7c8bae720552b1182f.tar.gz vdr-3c8faf1b8d37a6914c914f7c8bae720552b1182f.tar.bz2 |
Fixed checking toFile in cCuttingThread::Action()
Diffstat (limited to 'cutter.c')
-rw-r--r-- | cutter.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: cutter.c 1.11 2005/10/31 12:26:44 kls Exp $ + * $Id: cutter.c 1.12 2006/01/27 13:45:00 kls Exp $ */ #include "cutter.h" @@ -118,7 +118,7 @@ void cCuttingThread::Action(void) break; if (FileSize > MEGABYTE(Setup.MaxVideoFileSize)) { toFile = toFileName->NextFile(); - if (toFile < 0) { + if (!toFile) { error = "toFile 1"; break; } @@ -158,7 +158,7 @@ void cCuttingThread::Action(void) cutIn = true; if (Setup.SplitEditedFiles) { toFile = toFileName->NextFile(); - if (toFile < 0) { + if (!toFile) { error = "toFile 2"; break; } |