summaryrefslogtreecommitdiff
path: root/dvbsubtitle.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-05-15 12:32:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-05-15 12:32:51 +0200
commitdd9dd76722fac5902b9237d836bb1b7bce9bcbae (patch)
treefde02662db2e21d0b4f414440826ee9c2eb832c2 /dvbsubtitle.c
parentaae02a43daf93e979f536514fde6172de6ba44ff (diff)
downloadvdr-dd9dd76722fac5902b9237d836bb1b7bce9bcbae.tar.gz
vdr-dd9dd76722fac5902b9237d836bb1b7bce9bcbae.tar.bz2
The isSingleByte parameter in the call to getCharacterTable() is deprecated and only present for backwards compatibility
Diffstat (limited to 'dvbsubtitle.c')
-rw-r--r--dvbsubtitle.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/dvbsubtitle.c b/dvbsubtitle.c
index fff3f8b8..5e5139ff 100644
--- a/dvbsubtitle.c
+++ b/dvbsubtitle.c
@@ -7,7 +7,7 @@
* Original author: Marco Schluessler <marco@lordzodiac.de>
* With some input from the "subtitles plugin" by Pekka Virtanen <pekka.virtanen@sci.fi>
*
- * $Id: dvbsubtitle.c 4.1 2015/03/25 12:37:08 kls Exp $
+ * $Id: dvbsubtitle.c 4.2 2020/05/15 12:32:51 kls Exp $
*/
#include "dvbsubtitle.h"
@@ -479,11 +479,10 @@ void cSubtitleObject::DecodeCharacterString(const uchar *Data, int NumberOfCodes
for (int i = 0; i < NumberOfCodes; i++)
txt[i] = Data[i * 2 + 1];
txt[NumberOfCodes] = 0;
- bool singleByte;
const uchar *from = (uchar *)txt;
int len = NumberOfCodes;
- const char *CharacterTable = SI::getCharacterTable(from, len, &singleByte);
- dbgobjects(" table %s single %d raw '%s'", CharacterTable, singleByte, from);
+ const char *CharacterTable = SI::getCharacterTable(from, len);
+ dbgobjects(" table %s raw '%s'", CharacterTable, from);
cCharSetConv conv(CharacterTable, cCharSetConv::SystemCharacterTable());
const char *s = conv.Convert((const char *)from);
dbgobjects(" conv '%s'", s);