summaryrefslogtreecommitdiff
path: root/eepg.c
diff options
context:
space:
mode:
authorDimitar Petrovski <dimeptr@gmail.com>2011-09-14 16:10:56 +0200
committerDimitar Petrovski <dimeptr@gmail.com>2011-09-14 16:10:56 +0200
commit9c53646dc79a1447fd3201b37412108d7f94ea28 (patch)
tree479a683a77bca0f8b49c38920f0cc8c10281278a /eepg.c
parent038d482b3d317e8369c11a693c485517b6646c33 (diff)
downloadvdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.gz
vdr-plugin-eepg-9c53646dc79a1447fd3201b37412108d7f94ea28.tar.bz2
fix compile
Diffstat (limited to 'eepg.c')
-rw-r--r--eepg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/eepg.c b/eepg.c
index 0183e12..b9258c8 100644
--- a/eepg.c
+++ b/eepg.c
@@ -367,7 +367,7 @@ void cFilterEEPG::SetStatus (bool On)
if (!On) {
FreeSummaries ();
FreeTitles ();
- Format = 0;
+ //Format = 0;
ChannelsOk = false;
NumberOfTables = 0;
} else {
@@ -3259,7 +3259,7 @@ cEIT2::cEIT2 (cSchedules * Schedules, int Source, u_char Tid, const u_char * Dat
, DishExtendedEventDescriptor->getTheme(DishTheme)
, DishExtendedEventDescriptor->getCategory(DishCategory));
pEvent->SetShortText(tmp);
- free tmp;
+ free(tmp);
} else
pEvent->SetShortText(DishExtendedEventDescriptor->getShortText());
//LogD(2, prep("DishDescription: %s"), DishExtendedEventDescriptor->getText());
@@ -3416,7 +3416,7 @@ void cFilterEEPG::ProcessNextFormat (bool FirstTime = false)
for (int i = 0; i <= HIGHEST_FORMAT; i++){ //find first format that is detected
if (UnprocessedFormat[i]) {
isyslog ("EEPG: %s Extended EPG detected on pid %x.", FormatName[i], UnprocessedFormat[i]);
- Format = i;
+ Format = (EFormat)i;
// highest format is processed first this way
// make sure that CONT protocols like Premiere, Freesat are processed
// AFTER ONCE protocols like MHW, SKY and NAGRA