projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc00ffa
)
Corrected byte ordering when sorting tags.
author
Jan Patera
<patera@pictview.com>
Thu, 17 Mar 2005 07:43:39 +0000
(08:43 +0100)
committer
Jan Patera
<patera@pictview.com>
Thu, 17 Mar 2005 07:43:39 +0000
(08:43 +0100)
libexif/exif-data.c
patch
|
blob
|
history
diff --git
a/libexif/exif-data.c
b/libexif/exif-data.c
index
49a0e3c
..
b8e7441
100644
(file)
--- a/
libexif/exif-data.c
+++ b/
libexif/exif-data.c
@@
-576,7
+576,7
@@
exif_data_save_data_content (ExifData *data, ExifContent *ifd,
/* Sort the directory according to TIFF specification */
qsort (*d + 6 + offset - (ifd->count + n_ptr + n_thumb) * 12,
(ifd->count + n_ptr + n_thumb), 12,
- data->priv->order == EXIF_BYTE_ORDER_INTEL ? cmp_
le_func : cmp_b
e_func);
+ data->priv->order == EXIF_BYTE_ORDER_INTEL ? cmp_
be_func : cmp_l
e_func);
/* Correctly terminate the directory */
if (i == EXIF_IFD_0 && (data->ifd[EXIF_IFD_1]->count ||