FILE* file;
long file_size;
- //printf("%s!!!\n", filename);
if (!(file = fopen(filename, "ab"))) return -1;
- //printf("Abrio!\n");
file_size = ftell(file);
fclose(file);
return file_size;
free(shuff);
/* Muestro bpb */
- //printf("%s: %ld bytes.\n", src, fsize(src));
- //printf("%s: %ld bytes.\n", dst, vfsize(dst));
- printf("%s: %.04f bits/byte.\n", dst, 1.0/fsize(src)*vfsize(dst)*8.0f);
+ printf("%s: %.04f bits/byte.\n", dst, vfsize(dst)*8.0f/fsize(src));
return 0;
}