From 82ab305137172fd5332e635331fda7e31483fcdb Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Thu, 10 Jun 2010 15:47:43 +1200 Subject: [PATCH] be specific about jpeg struct member sizes, in case amd64 otherwise loads them wrong (though it doesn't) --- gstsparrow.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gstsparrow.h b/gstsparrow.h index d4f1acc..5f39a08 100644 --- a/gstsparrow.h +++ b/gstsparrow.h @@ -166,17 +166,17 @@ typedef struct sparrow_map_lut_s{ } sparrow_map_lut_t; typedef struct sparrow_frame_s { - guint offset; - guint jpeg_size; + gint32 offset; + guint32 jpeg_size; guint8 summary[48]; - int successors[8]; + gint32 successors[8]; } sparrow_frame_t; typedef struct sparrow_shared_s { guint8 *jpeg_blob; - size_t blob_size; + guint32 blob_size; sparrow_frame_t *index; - guint image_count; + guint32 image_count; } sparrow_shared_t; -- 2.11.4.GIT