From: Jaroslav Kysela Date: Mon, 2 Jan 2017 16:39:58 +0000 (+0100) Subject: EPG: fix - handle CR-LF in the DVB string par4ser, fixes #3968 X-Git-Tag: v4.2.1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1affdc55211acb7866d7f56617cfd90fa9219fce;p=thirdparty%2Ftvheadend.git EPG: fix - handle CR-LF in the DVB string par4ser, fixes #3968 --- diff --git a/src/input/mpegts/dvb_support.c b/src/input/mpegts/dvb_support.c index 16de3eee5..17c1778ab 100644 --- a/src/input/mpegts/dvb_support.c +++ b/src/input/mpegts/dvb_support.c @@ -141,6 +141,7 @@ static inline size_t conv_8859(int conv, if (c == 0x8a) { *dst = '\n'; (*dstlen)--; + dst++; } } else { // map according to character table, skipping @@ -182,6 +183,7 @@ static inline size_t conv_6937(const uint8_t *src, size_t srclen, if (c == 0x8a) { *dst = '\n'; (*dstlen)--; + dst++; } } else { uint16_t uc;