From 6db0e99996db866ae7d611d1bdc5c285fc03b14e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 6 May 2005 09:00:36 +0200 Subject: Fixed a bug in libsi's SubtitlingDescriptor::getLength() --- CONTRIBUTORS | 1 + HISTORY | 2 ++ libsi/descriptor.h | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0277283d..5b3c7239 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1162,6 +1162,7 @@ Marco Schl with the larger buffer reserve for adding support for setting the video display mode for fixing handling transparent areas in cDvbSpuBitmap + for fixing a bug in libsi's SubtitlingDescriptor::getLength() Jürgen Schmitz for reporting a bug in displaying the current channel when switching via the SVDRP diff --git a/HISTORY b/HISTORY index 56f25e96..2debe99b 100644 --- a/HISTORY +++ b/HISTORY @@ -3489,3 +3489,5 @@ Video Disk Recorder Revision History listing it via LSTE (thanks to Roman Krenický). - Fixed handling fragments of less than 3 byte in cPesAssembler (thanks to Reinhard Nissl). +- Fixed a bug in libsi's SubtitlingDescriptor::getLength() (thanks to Marco + Schlüßler). diff --git a/libsi/descriptor.h b/libsi/descriptor.h index 94959231..d17921c2 100644 --- a/libsi/descriptor.h +++ b/libsi/descriptor.h @@ -6,7 +6,7 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * - * $Id: descriptor.h 1.10 2004/06/06 13:51:29 kls Exp $ + * $Id: descriptor.h 1.11 2005/05/06 08:57:53 kls Exp $ * * ***************************************************************************/ @@ -289,7 +289,7 @@ public: int getSubtitlingType() const; int getCompositionPageId() const; int getAncillaryPageId() const; - virtual int getLength() { return sizeof(item_nvod_reference); } + virtual int getLength() { return sizeof(item_subtitling); } protected: virtual void Parse(); private: -- cgit v1.2.3