dng 792 modules/dng.c FILE *dng, *raw; dng 807 modules/dng.c dng=fopen(fn,"rb"); dng 808 modules/dng.c if (dng) dng 810 modules/dng.c fread(buf, 1, 8, dng); dng 817 modules/dng.c fseek(dng, st.st_size-camera_sensor.raw_size, SEEK_SET); // SEEK_END is not working? dng 820 modules/dng.c fread(buf, 1, BUF_SIZE, dng); dng 824 modules/dng.c fread(buf, 1, camera_sensor.raw_size%BUF_SIZE, dng); dng 832 modules/dng.c fclose(dng);