summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2015-08-29 00:59:06 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-08-29 00:59:06 +0900
commite656dde568d32a4d274388753bf7b7e69b773a0a (patch)
tree859a6b802cbb72bbfec0464351deba078fe79b42
parent1073774d8ea3946a1c0e680d4b5f701f279218e5 (diff)
downloadefl-e656dde568d32a4d274388753bf7b7e69b773a0a.tar.gz
emile jpeg: more descriptive comment.
-rw-r--r--src/lib/emile/emile_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index b116fec8f0..4b0feff9d1 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -872,10 +872,10 @@ _get_orientation_app1(const unsigned char *map,
Eina_Bool *flipped)
{
const unsigned char *app1_head, *buf;
- unsigned char orientation[2];
+ unsigned char orientation[2]; //orientation tag
ExifByteAlign byte_align;
unsigned int num_directory = 0;
- unsigned int ifd_offset = 10; //IFD offset start at 10th byte
+ unsigned int ifd_offset = 10; //IFD offset start at 10th byte (mark:2 + data_size:2 + exif:6)
unsigned int i, j;
int direction;
unsigned int data_size = 0;
@@ -924,7 +924,7 @@ _get_orientation_app1(const unsigned char *map,
if ((*position + (12 * num_directory + 20)) > fsize)
return EINA_FALSE;
- buf = app1_head + ifd_offset + 2;
+ buf = app1_head + ifd_offset + 2; //next to 0th ifd (1st tag)
j = 0;