rem: ECA_LOG_MSG(ECA_LOGGER::info, "End of mp3 file, no valid header data found.");
add: ECA_LOG_MSG(ECA_LOGGER::errors, "End of mp3 file, no valid header data found.");
context: static bool mpg123_detect_by_content(const char* filename, struct frame* frp){  FILE *file;  uint8_t tmp[4]; /* room for the 32bit head */  uint32_t head = 0;  bool data_left = true;  bool header_found = false;  size_t offset = 0;  if((file = std::fopen(filename, "rb")) == NULL) {    ECA_LOG_MSG(ECA_LOGGER::info, string("Unable to open file ") + filename + ".");    data_left = false;  }  /* search for headers in the first 262kB of data */  while(data_left == true && offset < (1<<18)) {    /* octet-by-octet search */    if (std::fread(tmp, 1, 1, file) != 1) {      ECA_LOG_MSG(ECA_LOGGER::info, "End of mp3 file, no valid header data found.");      data_left = false;      break;    }    head <<= 8;    head |= tmp[0];     offset += 1;    if (offset > 3) {      /* verify the header and if ok, fetch mp3 parameters and store	 them to 'frp' */      if (mpg123_head_check(head) && mpg123_decode_header(frp, head)) {	if (header_found == true) {	  /* two headers found, stop searching */	  data_left = false;	}	else {	  /* after the first header is found, skip to the next 	     valid frame to verify that the first frame is not 	     dummy frame (id3 or something similar) */	  if (std::fseek(file, frp->framesize, SEEK_CUR) != 0) {	    data_left = false;	  }	  header_found = true;	}	ECA_LOG_MSG(ECA_LOGGER::info, "Found mp3 header at offset " + 		    kvu_numtostr(static_cast<int>(offset - 4)));      }    }  }  return header_found;}