aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--jpegtools.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index c24303f..42ea6ce 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.02
+2.03
diff --git a/jpegtools.c b/jpegtools.c
index 90ac7dd..2e84294 100644
--- a/jpegtools.c
+++ b/jpegtools.c
@@ -329,8 +329,8 @@ static void do_exif(struct jpeg_decompress_struct *src,
mark = src->mem->alloc_large((j_common_ptr)src,JPOOL_IMAGE,sizeof(*mark));
memset(mark,0,sizeof(*mark));
mark->marker = JPEG_APP0 +1;
- mark->next = src->marker_list->next;
- src->marker_list->next = mark;
+ mark->next = src->marker_list;
+ src->marker_list = mark;
}
if (ed->data)
free(ed->data);