diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2003-11-09 12:06:18 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2003-11-09 12:06:18 +0100 |
commit | 277ac424d42319d615022de1ec639ae3ed9adb61 (patch) | |
tree | 8c1b7015350fd057a2c307050242435def8b8c70 /libdtv | |
parent | 454b63416b912a4bc8bf86e8f3b4e1dc88144f4a (diff) | |
download | vdr-277ac424d42319d615022de1ec639ae3ed9adb61.tar.gz vdr-277ac424d42319d615022de1ec639ae3ed9adb61.tar.bz2 |
Fixed processing EPG data in case there is no title1.2.6pre6
Diffstat (limited to 'libdtv')
-rw-r--r-- | libdtv/libvdr/libvdr.c | 4 |
1 files changed, 1 insertions, 3 deletions
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); |