--- remux.c.orig	2005-02-26 18:17:39.000000000 +0100
+++ remux.c	2005-02-26 18:19:42.000000000 +0100
@@ -619,7 +619,11 @@
                         return NULL; // no useful data found, wait for more
                      if (pt != NO_PICTURE) {
                         if (pt < I_FRAME || B_FRAME < pt)
+			{
                            esyslog("ERROR: unknown picture type '%d'", pt);
+			   esyslog("VDR: EmergencyExit because of UPT");
+			   cThread::EmergencyExit(true);
+			}
                         else if (!synced) {
                            if (pt == I_FRAME) {
                               resultDelivered = i; // will drop everything before this position

