diff options
author | Stefan Kost <ensonic@users.sf.net> | 2009-10-11 22:10:04 +0300 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2009-10-11 22:10:04 +0300 |
commit | c1c0a4b143ceb10161e12e6c3141bc9e155f3ef6 (patch) | |
tree | a0d8394d375e54b24abb63da0b95415afc38fbe6 | |
parent | 0e642cad5bb0b35ca527fd1e67e1f124cf8ac83e (diff) |
metadata: init variables
metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed
variables.
-rw-r--r-- | ext/metadata/metadataexif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/metadata/metadataexif.c b/ext/metadata/metadataexif.c index 1fb97d58b..0f7766d62 100644 --- a/ext/metadata/metadataexif.c +++ b/ext/metadata/metadataexif.c @@ -888,9 +888,9 @@ metadatamux_exif_for_each_tag_in_list (const GstTagList * list, { ExifData *ed = (ExifData *) user_data; ExifTag exif_tag; - GType type; + GType type = G_TYPE_INVALID; ExifEntry *entry = NULL; - ExifIfd ifd; + ExifIfd ifd = EXIF_IFD_COUNT; const ExifByteOrder byte_order = exif_data_get_byte_order (ed); exif_tag = metadatamux_exif_get_exif_from_tag (tag, &type, &ifd); |