fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 25 Nov 2005 23:01:59 +0000 (23:01 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 25 Nov 2005 23:01:59 +0000 (23:01 +0000)
lib/dvb/dvb.cpp

index 9ddc29b..4d78292 100644 (file)
@@ -219,7 +219,7 @@ RESULT eDVBResourceManager::allocateFrontend(ePtr<eDVBAllocatedFrontend> &fe, eP
                        int c = i->m_frontend->isCompatibleWith(feparm);
                        if (c > bestval)
                        {
                        int c = i->m_frontend->isCompatibleWith(feparm);
                        if (c > bestval)
                        {
-                               c = bestval;
+                               bestval = c;
                                best = i;
                        }
                }
                                best = i;
                        }
                }