summaryrefslogtreecommitdiff
path: root/recording.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-04-30 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2006-04-30 18:00:00 +0200
commit529fc7b48aa8e2d6f3b66b1f0a473ee7bbad16c2 (patch)
tree041c5101740f4e991820882ccc1d215124b5f3ef /recording.c
parent56e5836b54ab1a7f5ad5b067e867a0c9392c5e5b (diff)
downloadvdr-patch-lnbsharing-529fc7b48aa8e2d6f3b66b1f0a473ee7bbad16c2.tar.gz
vdr-patch-lnbsharing-529fc7b48aa8e2d6f3b66b1f0a473ee7bbad16c2.tar.bz2
Version 1.4.0vdr-1.4.0
- Fixed handling the "Power" key in case a recording is going on and no plugin is active (thanks to Udo Richter; bug reported by Dominique Simon). - Updated the Polish OSD texts (thanks to Jaroslaw Swierczynski). - Fixed a memory leak in handling external EPG data (thanks to Tobias Grimm). - Fixed a memory leak in closing the video file during replay (thanks to Tobias Grimm). - Updated the Italian OSD texts (thanks to Nino Gerbino and Antonio Ospite). - Updated the Estonian OSD texts (thanks to Arthur Konovalov).
Diffstat (limited to 'recording.c')
-rw-r--r--recording.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.c b/recording.c
index 351713e..229cfee 100644
--- a/recording.c
+++ b/recording.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.c 1.147 2006/04/23 10:43:06 kls Exp $
+ * $Id: recording.c 1.148 2006/04/29 13:22:20 kls Exp $
*/
#include "recording.h"
@@ -1436,7 +1436,7 @@ cUnbufferedFile *cFileName::Open(void)
void cFileName::Close(void)
{
if (file) {
- if ((record && CloseVideoFile(file) < 0) || (!record && file->Close() < 0))
+ if (CloseVideoFile(file) < 0)
LOG_ERROR_STR(fileName);
file = NULL;
}