summaryrefslogtreecommitdiff
path: root/src/lib
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 /src/lib
parent1073774d8ea3946a1c0e680d4b5f701f279218e5 (diff)
emile jpeg: more descriptive comment.
Diffstat (limited to 'src/lib')
-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,
872 Eina_Bool *flipped) 872 Eina_Bool *flipped)
873{ 873{
874 const unsigned char *app1_head, *buf; 874 const unsigned char *app1_head, *buf;
875 unsigned char orientation[2]; 875 unsigned char orientation[2]; //orientation tag
876 ExifByteAlign byte_align; 876 ExifByteAlign byte_align;
877 unsigned int num_directory = 0; 877 unsigned int num_directory = 0;
878 unsigned int ifd_offset = 10; //IFD offset start at 10th byte 878 unsigned int ifd_offset = 10; //IFD offset start at 10th byte (mark:2 + data_size:2 + exif:6)
879 unsigned int i, j; 879 unsigned int i, j;
880 int direction; 880 int direction;
881 unsigned int data_size = 0; 881 unsigned int data_size = 0;
@@ -924,7 +924,7 @@ _get_orientation_app1(const unsigned char *map,
924 if ((*position + (12 * num_directory + 20)) > fsize) 924 if ((*position + (12 * num_directory + 20)) > fsize)
925 return EINA_FALSE; 925 return EINA_FALSE;
926 926
927 buf = app1_head + ifd_offset + 2; 927 buf = app1_head + ifd_offset + 2; //next to 0th ifd (1st tag)
928 928
929 j = 0; 929 j = 0;
930 930