summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-10-07 13:41:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-10-07 13:41:56 +0200
commita1a248ae421ba1be57572d62de842745bc3dee88 (patch)
tree51c9cd5472d02bc74b72ee0fbed79798e710809a
parentb8471a3f113b8bb366074bf96cc5b0dbb0a8cd1e (diff)
downloadvdr-a1a248ae421ba1be57572d62de842745bc3dee88.tar.gz
vdr-a1a248ae421ba1be57572d62de842745bc3dee88.tar.bz2
Also handling unencoded newline characters
-rw-r--r--libdtv/libsi/si_parser.c1
1 files changed, 1 insertions, 0 deletions
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++ = ' ';