summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-10-13 20:40:14 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-10-13 20:40:14 +0200
commit8bab540df87c3f38369c772fd956f85cd655cf6e (patch)
tree85141a4610957994d77076bb8aba748aa3b03a66 /eepg.c
parentcb5620b02a6cacbb38096e23f57e929bf07b722c (diff)
downloadvdr-plugin-eepg-8bab540df87c3f38369c772fd956f85cd655cf6e.tar.gz
vdr-plugin-eepg-8bab540df87c3f38369c772fd956f85cd655cf6e.tar.bz2
test merge branches
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/eepg.c b/eepg.c
index 5f5f52b..54ed4a6 100644
--- a/eepg.c
+++ b/eepg.c
@@ -3190,21 +3190,17 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
}
break;
case SI::DishExtendedEventDescriptorTag: {
- SI::DishDescriptor *deed = new SI::DishDescriptor((SI::UnimplementedDescriptor *)d);
- deed->Decompress(Tid);
if (!DishExtendedEventDescriptor) {
- DishExtendedEventDescriptor = deed;
- d = NULL; // so that it is not deleted
+ DishExtendedEventDescriptor = new SI::DishDescriptor();
+ DishExtendedEventDescriptor->Decompress(Tid, d->getData());
}
HasExternalData = true;
}
break;
case SI::DishShortEventDescriptorTag: {
- SI::DishDescriptor *dsed = new SI::DishDescriptor((SI::UnimplementedDescriptor *)d);
- dsed->Decompress(Tid);
if (!DishShortEventDescriptor) {
- DishShortEventDescriptor = dsed;
- d = NULL; // so that it is not deleted
+ DishShortEventDescriptor = new SI::DishDescriptor();
+ DishShortEventDescriptor->Decompress(Tid, d->getData());
}
HasExternalData = true;
}