uint32_t nb=0;
char s[16]; uint32_t nb=0,index;
uint8_t vobSubGetLanguage(char *filename,vobSubLanguage *lingua){  char str[1024];  uint32_t nb=0;  FILE *fd=NULL;    fd=fopen(filename,"rb");  if(!fd) return 0;        while(!feof(fd))  {    fgets(str,1023,fd);    if(!strncmp(str,"id: ",3))    {      lingua->language[nb]=new char[3];      lingua->language[nb][0]=str[4];      lingua->language[nb][1]=str[5];      lingua->language[nb][2]=0;      nb++;    }          }  lingua->nbLanguage=nb;  return 1;}