some more changes for eiger mapping

This commit is contained in:
Dhanya Maliakal
2015-03-25 15:14:03 +01:00
parent 9b11df1c31
commit 7924989fb1
3 changed files with 38 additions and 20 deletions

View File

@ -90,7 +90,7 @@ public:
dd+=packetSize;
np++;
// cout << pnum << " " << fn << " " << np << " " << dd << " " << dsize << endl;
if (np==nPackets)
if (np==nPackets){
if (pnum==nPackets) {
// cout << "Frame found!" << endl;
break;
@ -98,6 +98,7 @@ public:
cout << "Too many packets for this frame! "<< fnum << " " << pnum << endl;
retval=NULL;
}
}
}
if (np<nPackets) {
if (np>0)