[gnome-dvb-daemon] Fixed crash when EIT table was not present



commit 8ebdfc463552705639510c0d15d030ec076b9d4e
Author: Sebastian Pölsterl <sebp k-d-w org>
Date:   Sun Nov 16 19:31:27 2014 +0100

    Fixed crash when EIT table was not present

 src/EPGScanner.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/EPGScanner.vala b/src/EPGScanner.vala
index b1126c4..b844dc6 100644
--- a/src/EPGScanner.vala
+++ b/src/EPGScanner.vala
@@ -274,8 +274,9 @@ namespace DVB {
         }
 
         public void on_eit_structure (Section section) {
-
             unowned EIT eit = section.get_eit();
+            if (eit == null)
+                return;
 
             lock (this.channel_events) {
                 uint sid = section.subtable_extension;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]