small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 21 Mar 2006 13:47:22 +0000 (13:47 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Tue, 21 Mar 2006 13:47:22 +0000 (13:47 +0000)
lib/dvb/idvb.h

index 13f200811357e9f75f8e82c1274ac3eaf0dee16d..dbc24a5f7c17369775a22b8748a8a916d3731a9c 100644 (file)
@@ -165,7 +165,7 @@ struct eServiceReferenceDVB: public eServiceReference
        eServiceReferenceDVB getParentServiceReference() const
        {
                eServiceReferenceDVB tmp(*this);
        eServiceReferenceDVB getParentServiceReference() const
        {
                eServiceReferenceDVB tmp(*this);
-               if (data[4] && data[5])
+               if (data[5] && data[6])
                {
                        tmp.data[1] = data[5];
                        tmp.data[2] = data[6];
                {
                        tmp.data[1] = data[5];
                        tmp.data[2] = data[6];