diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-25 10:21:29 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-02-25 10:21:29 +0100 |
commit | 6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5 (patch) | |
tree | efcb4ef12d86cf989d2ad1d45f0be2657cbde0e4 /libsi/util.h | |
parent | 39cefd4b276550e4ea9f080c4e85c4b4a2b828ed (diff) | |
download | vdr-6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5.tar.gz vdr-6a0a6c15c0393e837857b4e13fbe3518d2c2b2d5.tar.bz2 |
Fixed the 'libsi' function CharArray::checkSize(), which made a previous workaround in libsi/descriptor.c obsolete
Diffstat (limited to 'libsi/util.h')
-rw-r--r-- | libsi/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsi/util.h b/libsi/util.h index 91a4c32a..08b16141 100644 --- a/libsi/util.h +++ b/libsi/util.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: util.h 1.6 2006/02/18 10:38:20 kls Exp $ + * $Id: util.h 1.7 2006/02/25 10:13:28 kls Exp $ * * ***************************************************************************/ @@ -59,7 +59,7 @@ public: u_int32_t FourBytes(const int index) const { return data_->data ? data_->FourBytes(off+index) : 0; } bool isValid() const { return data_->valid; } - bool checkSize(int offset) { return (data_->valid && offset>=0 && (data_->valid=(off+offset < data_->size))); } + bool checkSize(int offset) { return (data_->valid && (data_->valid=(offset>=0 && off+offset < data_->size))); } void addOffset(int offset) { off+=offset; } private: |