summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-10-24 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-10-24 18:00:00 +0200
commit646369955d2e954edf8b5c78f9ba4dc7f501f292 (patch)
treec5cdb2ffe42d76022398a447838df6ccdb0d99e3 /dvbdevice.c
parente2ac232795141f367d271b87585597493551a560 (diff)
downloadvdr-patch-lnbsharing-646369955d2e954edf8b5c78f9ba4dc7f501f292.tar.gz
vdr-patch-lnbsharing-646369955d2e954edf8b5c78f9ba4dc7f501f292.tar.bz2
Version 1.2.6pre3vdr-1.2.6pre3
- Improved cDvbDevice::StillPicture() (thanks to Oliver Endriss). - Continuing learning remote control keys in case one rc fails (thanks to Oliver Endriss). - Fixed handling comments in editing marks.
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index 0dedfe8..ebb236e 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.67.1.1 2003/10/19 11:41:07 kls Exp $
+ * $Id: dvbdevice.c 1.67.1.2 2003/10/24 14:32:20 kls Exp $
*/
#include "dvbdevice.h"
@@ -963,7 +963,7 @@ void cDvbDevice::StillPicture(const uchar *Data, int Length)
offs += Data[i + 8];
len -= 3;
len -= Data[i + 8];
- if (len < 0 || offs + len >= Length)
+ if (len < 0 || offs + len > Length)
break;
}
else {