summaryrefslogtreecommitdiff
path: root/libdtv
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-11-09 18:00:00 +0100
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2003-11-09 18:00:00 +0100
commit0b283547acdb3a876416bfee3d979e433537adf8 (patch)
treebb33db0cbf95fe1553bb9e055a3d997a19c9a66f /libdtv
parent17c5b4169e50c127991cb20d9f8050a5e47b18c2 (diff)
downloadvdr-patch-lnbsharing-0b283547acdb3a876416bfee3d979e433537adf8.tar.gz
vdr-patch-lnbsharing-0b283547acdb3a876416bfee3d979e433537adf8.tar.bz2
Version 1.2.6pre6vdr-1.2.6pre6
- 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).
Diffstat (limited to 'libdtv')
-rw-r--r--libdtv/libvdr/libvdr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libdtv/libvdr/libvdr.c b/libdtv/libvdr/libvdr.c
index e041fd8..5f90125 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);