diff options
Diffstat (limited to 'ext/metadata/metadata.h')
-rw-r--r-- | ext/metadata/metadata.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/metadata/metadata.h b/ext/metadata/metadata.h index 6150cc8e..63e9ec90 100644 --- a/ext/metadata/metadata.h +++ b/ext/metadata/metadata.h @@ -104,11 +104,11 @@ typedef struct _tag_MetaData } MetaData; -#define META_DATA_IMG_TYPE(p) (p).img_type +#define META_DATA_IMG_TYPE(p) (p)->img_type -extern void metadata_init (MetaData * meta_data, const MetaOptions options); +extern void metadata_init (MetaData ** meta_data, const MetaOptions options); -extern void metadata_dispose (MetaData * meta_data); +extern void metadata_dispose (MetaData ** meta_data); extern MetadataParsingReturn metadata_parse (MetaData * meta_data, const guint8 * buf, |