diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-06 12:57:45 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-12-06 12:57:45 +0100 |
commit | 6a208294bef44f588e067383aa2e35af1aa23a16 (patch) | |
tree | 463f2aa875c26a6d0df507c2559a9bb821111082 /recorder.c | |
parent | 1b973fd8ebb0a5dca7c82fac0651c33ecb7edd50 (diff) | |
download | vdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.gz vdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.bz2 |
Several code modifications to avoid compiler warnings
Diffstat (limited to 'recorder.c')
-rw-r--r-- | recorder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recorder.c 2.6 2009/11/21 15:58:12 kls Exp $ + * $Id: recorder.c 2.7 2009/12/06 11:34:41 kls Exp $ */ #include "recorder.h" @@ -128,7 +128,7 @@ void cRecorder::Action(void) if (frameDetector->Synced()) { if (!InfoWritten) { if (recordingInfo.Read()) { - if (frameDetector->FramesPerSecond() > 0 && recordingInfo.FramesPerSecond() != frameDetector->FramesPerSecond()) { + if (frameDetector->FramesPerSecond() > 0 && !DoubleEqual(recordingInfo.FramesPerSecond(), frameDetector->FramesPerSecond())) { recordingInfo.SetFramesPerSecond(frameDetector->FramesPerSecond()); recordingInfo.Write(); } |