From 1affdc55211acb7866d7f56617cfd90fa9219fce Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 2 Jan 2017 17:39:58 +0100 Subject: [PATCH] EPG: fix - handle CR-LF in the DVB string par4ser, fixes #3968 --- src/input/mpegts/dvb_support.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.47.2