Hannes 14 years ago
parent f048f9f79a
commit 60c2fdb5ca

@ -24,7 +24,7 @@ main()
}
FILE* o = fopen("BIGENDIAN.raw", "wb");
int headersize = 4;
int old_header_size = 58;
int old_header_size = 0;
unsigned int samples = data.size() - old_header_size;
unsigned char* new_data = (unsigned char*)malloc(sizeof(char) * (samples + headersize));
//little endian: alles umdrehen...

Loading…
Cancel
Save