hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e656dde568d32a4d274388753bf7b7e69b773a0a

commit e656dde568d32a4d274388753bf7b7e69b773a0a
Author: ChunEon Park <her...@hermet.pe.kr>
Date:   Sat Aug 29 00:59:06 2015 +0900

    emile jpeg: more descriptive comment.
---
 src/lib/emile/emile_image.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index b116fec..4b0feff 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;
 

-- 


Reply via email to