From a1a248ae421ba1be57572d62de842745bc3dee88 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 7 Oct 2001 13:41:56 +0200 Subject: Also handling unencoded newline characters --- libdtv/libsi/si_parser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libdtv') diff --git a/libdtv/libsi/si_parser.c b/libdtv/libsi/si_parser.c index 9e847aff..76d72c8f 100644 --- a/libdtv/libsi/si_parser.c +++ b/libdtv/libsi/si_parser.c @@ -852,6 +852,7 @@ char *siGetDescriptorText (u_char *Buffer, u_int Length) if (*Buffer == 0) break; if ((*Buffer >= ' ' && *Buffer <= '~') || + (*Buffer == '\n') || (*Buffer >= 0xa0 && *Buffer <= 0xff)) *tmp++ = *Buffer; if (*Buffer == 0x8A) *tmp++ = '\n'; if (*Buffer == 0x86 || *Buffer == 0x87) *tmp++ = ' '; -- cgit v1.2.3