diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-17 11:31:12 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-17 11:31:12 +0100 |
commit | 12d9883261ebdc7c1b8157ad07d27a4a62a0d7ab (patch) | |
tree | 8dcb41e066217945981e56f2cafbaf4ff8c60a2d /sdt.c | |
parent | caf282e406256551995e09ed069079ad3fb2514e (diff) | |
download | vdr-12d9883261ebdc7c1b8157ad07d27a4a62a0d7ab.tar.gz vdr-12d9883261ebdc7c1b8157ad07d27a4a62a0d7ab.tar.bz2 |
Short channel names are now only stored if they actually differ from the full name
Diffstat (limited to 'sdt.c')
-rw-r--r-- | sdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sdt.c 1.5 2004/01/16 14:59:06 kls Exp $ + * $Id: sdt.c 1.6 2004/01/17 11:29:51 kls Exp $ */ #include "sdt.h" @@ -78,7 +78,7 @@ void cSdtFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } *pn = *ps = 0; pn = NameBuf; - if (*NameBuf && *ShortNameBuf) { + if (*NameBuf && *ShortNameBuf && strcmp(NameBuf, ShortNameBuf) != 0) { *ps++ = ','; strcpy(ps, NameBuf); pn = ShortNameBuf; |