Ticket #11298: dvbci.cpp.patch

File dvbci.cpp.patch, 673 bytes (added by klaas.de.waal@…, 7 years ago)

Call Tc->Poll() outside if statement and ignore function value.

  • mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp b/mythtv/libs/libmythtv/recorders/dvbdev/dvbci.cpp
    index 958ca7c..802c5da 100644
    a b cCiTransportConnection *cCiTransportLayer::Process(int Slot) 
    636636           case stCREATION:
    637637           case stACTIVE:
    638638                if (!Tc->DataAvailable()) {
    639                     if (Tc->Poll() != OK)
    640                         esyslog("ERROR: Poll Error");
     639                    Tc->Poll();
    641640                   }
    642641                switch (Tc->LastResponse()) {
    643642                  case T_REQUEST_TC: