startframeindex corrected

This commit is contained in:
Dhanya Maliakal 2016-11-02 15:45:45 +01:00
parent a4fcf622a9
commit b9caa1e1e1

View File

@ -2871,7 +2871,7 @@ void UDPStandardImplementation::handleWithoutMissingPackets(int ithread, char* w
//write to file if enabled and update write parameters //write to file if enabled and update write parameters
if(npackets > 0){ if(npackets > 0){
if((fileWriteEnable) && (sfilefd[ithread])){ if((fileWriteEnable) && (sfilefd[ithread])){
if((tempframenumber%maxFramesPerFile) == 0){ if(tempframenumber && (tempframenumber%maxFramesPerFile) == 0){
exit(-1); exit(-1);
createNewFile(ithread); createNewFile(ithread);
} }