Bug fix affecting the rcu trailer size variable
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 31 Oct 2008 14:35:55 +0000 (14:35 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 31 Oct 2008 14:35:55 +0000 (14:35 +0000)
RAW/AliAltroRawStream.cxx

index 634a64c..49ce330 100644 (file)
@@ -599,13 +599,12 @@ Int_t AliAltroRawStream::ReadRCUTrailer(Int_t &index, Int_t trailerSize)
 
   if (index < 4) {
     fRawReader->AddMajorErrorLog(kRCUTrailerErr,Form("tr=%d raw=%d bytes",
-                                                    trailerSize*4,
+                                                    fRCUTrailerSize,
                                                     fRawReader->GetDataSize()));
     AliWarning(Form("Invalid trailer size found (%d bytes) ! The size is bigger than the raw data size (%d bytes)!",
-                   trailerSize*4,
+                   fRCUTrailerSize,
                    fRawReader->GetDataSize()));
   }
-  fRCUTrailerSize = trailerSize*4;
   fRCUTrailerData = fData + index;
 
   Int_t position = Get32bitWord(index);