count 0 gesetzt
This commit is contained in:
parent
1fca7598d6
commit
efd8113350
@ -33,6 +33,7 @@ GrayScaleImageSeries *readImages(const char *path)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
//liest die Anzahl der Bilder aus
|
//liest die Anzahl der Bilder aus
|
||||||
|
series->count = 0;
|
||||||
fread(&series->count, sizeof(unsigned short),1, data);
|
fread(&series->count, sizeof(unsigned short),1, data);
|
||||||
series->images = malloc(series->count * sizeof(GrayScaleImage));
|
series->images = malloc(series->count * sizeof(GrayScaleImage));
|
||||||
if (series->images == NULL){
|
if (series->images == NULL){
|
||||||
|
|||||||
BIN
testFile.info2
Normal file
BIN
testFile.info2
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user