diff options
author | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-13 20:40:14 +0200 |
---|---|---|
committer | Dimitar Petrovski <dimeptr@gmail.com> | 2011-10-13 20:40:14 +0200 |
commit | 8bab540df87c3f38369c772fd956f85cd655cf6e (patch) | |
tree | 85141a4610957994d77076bb8aba748aa3b03a66 /dish.c | |
parent | cb5620b02a6cacbb38096e23f57e929bf07b722c (diff) | |
download | vdr-plugin-eepg-8bab540df87c3f38369c772fd956f85cd655cf6e.tar.gz vdr-plugin-eepg-8bab540df87c3f38369c772fd956f85cd655cf6e.tar.bz2 |
test merge branches
Diffstat (limited to 'dish.c')
-rw-r--r-- | dish.c | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -39,19 +39,17 @@ namespace SI return (unsigned int)(((chunk.val & (0xFFFFFFFF >> bitnum)) >> rightend)); } - DishDescriptor::DishDescriptor(UnimplementedDescriptor *unimplementedDesc) + DishDescriptor::DishDescriptor() { text = NULL; shortText = NULL; decompressed = NULL; - this->unimplementedDesc = unimplementedDesc; } DishDescriptor::~DishDescriptor() { delete [] decompressed; decompressed = NULL; - delete unimplementedDesc; } const char *DishDescriptor::getTheme(int contentNibleLvl2) @@ -256,10 +254,10 @@ namespace SI } - void DishDescriptor::Decompress(unsigned char Tid) + void DishDescriptor::Decompress(unsigned char Tid, CharArray data) { - const unsigned char *str = unimplementedDesc->getData().getData(); - const unsigned char *cmp = NULL; // Compressed data + const unsigned char *str = data.getData(); + const unsigned char *cmp = NULL; int length = 0; // Length of compressed data unsigned int dLength = 0; // Length of decompressed data if((str[3] & 0xFC) == 0x80){ |