comparison src/format_raw.c @ 47:aa4c0e1b54b0

Fri Jun 3 01:49:20 2005 John Ellis <johne@verizon.net> * exif.[ch]: Export several parsing functions for use by the exif makernote parsers, and add hook for MakerNote data parsing. * format_canon.[ch]: Add Canon EXIF MakerNote support. * format_raw.c: Fix warning printf grammar. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Fri, 03 Jun 2005 06:07:02 +0000
parents 905f8fa583a3
children 276ea4c98d33
comparison
equal deleted inserted replaced
46:905f8fa583a3 47:aa4c0e1b54b0
128 } 128 }
129 map_len = st.st_size; 129 map_len = st.st_size;
130 map_data = mmap(0, map_len, PROT_READ, MAP_PRIVATE, fd, 0); 130 map_data = mmap(0, map_len, PROT_READ, MAP_PRIVATE, fd, 0);
131 if (map_data == MAP_FAILED) 131 if (map_data == MAP_FAILED)
132 { 132 {
133 printf("Failed to mmap of file %d\n", fd); 133 printf("Failed to mmap file %d\n", fd);
134 return FALSE; 134 return FALSE;
135 } 135 }
136 136
137 success = format_raw_parse(entry, map_data, map_len, image_offset, exif_offset); 137 success = format_raw_parse(entry, map_data, map_len, image_offset, exif_offset);
138 138