Since the bug had no backtrace it's hard to tell if this actually fixes the bug. But I believe this fixes the problem. Basically we don't check if GetOSD() returns NULL before using it. I added a quick check.


-- Daniel
Index: libs/libmythtv/udpnotify.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/udpnotify.cpp,v
retrieving revision 1.4
diff -u -r1.4 udpnotify.cpp
--- libs/libmythtv/udpnotify.cpp        7 Mar 2004 05:03:02 -0000       1.4
+++ libs/libmythtv/udpnotify.cpp        2 Feb 2005 18:48:20 -0000
@@ -353,7 +353,7 @@
             if (e.tagName() == "container")
             {
                 UDPNotifyOSDSet *container = parseContainer(e);
-                if (container)
+                if (osd && container)
                     osd->StartNotify(container, displaytime);
             }
             else
_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to