count 0 gesetzt

This commit is contained in:
maxgrf 2025-11-24 12:42:53 +01:00
parent 1fca7598d6
commit efd8113350
2 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ GrayScaleImageSeries *readImages(const char *path)
return NULL;
}
//liest die Anzahl der Bilder aus
series->count = 0;
fread(&series->count, sizeof(unsigned short),1, data);
series->images = malloc(series->count * sizeof(GrayScaleImage));
if (series->images == NULL){

BIN
testFile.info2 Normal file

Binary file not shown.