summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-11-09 12:08:22 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2003-11-09 12:08:22 +0100
commit2c24c9494ac869c8812115d28f9ec1c96b74f95f (patch)
treeff23969faf1dbe5e7d08df0cb1674ac72acf582d
parent8e4a745ada27e4538b3a75e4b39d7784ea7d1802 (diff)
downloadvdr-2c24c9494ac869c8812115d28f9ec1c96b74f95f.tar.gz
vdr-2c24c9494ac869c8812115d28f9ec1c96b74f95f.tar.bz2
Fixed processing EPG data in case there is no title
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY1
-rw-r--r--libdtv/libvdr/libvdr.c4
3 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e72cc733..99ff6d11 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -650,6 +650,7 @@ Torsten Herz <torsten.herz@web.de>
for fixing a bug in resetting OSD color palettes
for adding missing 'const' to some cChannel member functions
for fixing handling Priority -1 in cDvbDevice::ProvidesChannel()
+ for fixing processing EPG data in case there is no title
Steffen Becker <stbecker@rbg.informatik.tu-darmstadt.de>
for reporting a problem with CPU load peaks (in the EPG scanner)
diff --git a/HISTORY b/HISTORY
index eb28cbab..f8436e8d 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2464,6 +2464,7 @@ Video Disk Recorder Revision History
- Fixed handling Priority -1 in cDvbDevice::ProvidesChannel() (thanks to
Torsten Herz).
+- Fixed processing EPG data in case there is no title (thanks to Torsten Herz).
2003-10-24: Version 1.3.0
diff --git a/libdtv/libvdr/libvdr.c b/libdtv/libvdr/libvdr.c
index e041fd82..5f901258 100644
--- a/libdtv/libvdr/libvdr.c
+++ b/libdtv/libvdr/libvdr.c
@@ -118,7 +118,6 @@ struct LIST *createVdrProgramInfos (unsigned char *siBuffer)
AddItemToText (Item->Text,
VdrProgramInfo->ExtendedText);
}
- GotVdrProgramInfo = 1;
}
break;
@@ -134,7 +133,6 @@ struct LIST *createVdrProgramInfos (unsigned char *siBuffer)
VdrProgramInfo->ContentNibble2 =
GetContentContentNibble2(Descriptor, j);
}
- GotVdrProgramInfo = 1;
}
break;
@@ -147,12 +145,12 @@ struct LIST *createVdrProgramInfos (unsigned char *siBuffer)
if (!strncmp (VdrProgramInfo->LanguageCode,
Rating->LanguageCode, 3))
VdrProgramInfo->Rating = Rating->Rating;
- GotVdrProgramInfo = 1;
}
break;
}
}
if (GotVdrProgramInfo) xAddTail (Result, VdrProgramInfo);
+ else xMemFree (VdrProgramInfo);
}
return (Result);