]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Issue #1407 - forgot to strip unused escapes from ISO 6937.
authorAdam Sutton <dev@adamsutton.me.uk>
Thu, 29 Nov 2012 10:51:25 +0000 (10:51 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Thu, 29 Nov 2012 10:51:25 +0000 (10:51 +0000)
src/dvb/dvb_support.c

index b4d5e3b0957c4c65d54f4d7338cf1a30e20e405d..6d883e00ff0beebdc76e03464f00cef6bd5a8578 100644 (file)
@@ -132,10 +132,7 @@ static inline size_t conv_6937(const uint8_t *src, size_t srclen,
       (*dstlen)--;
       dst++;
     } else if (c <= 0x9f) {
-      // codes 0x80 - 0x9f (control codes) are mapped to ' '
-      *dst = ' ';
-      (*dstlen)--;
-      dst++;
+      // codes 0x80 - 0x9f (control codes) are ignored
     } else {
       uint16_t uc;
       if (c >= 0xc0 && c <= 0xcf) {