mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
metadata: init variables
metadatamux_exif_get_exif_from_tag() does not neccesarily init the passed variables.
This commit is contained in:
parent
0e642cad5b
commit
c1c0a4b143
1 changed files with 2 additions and 2 deletions
|
@ -888,9 +888,9 @@ metadatamux_exif_for_each_tag_in_list (const GstTagList * list,
|
||||||
{
|
{
|
||||||
ExifData *ed = (ExifData *) user_data;
|
ExifData *ed = (ExifData *) user_data;
|
||||||
ExifTag exif_tag;
|
ExifTag exif_tag;
|
||||||
GType type;
|
GType type = G_TYPE_INVALID;
|
||||||
ExifEntry *entry = NULL;
|
ExifEntry *entry = NULL;
|
||||||
ExifIfd ifd;
|
ExifIfd ifd = EXIF_IFD_COUNT;
|
||||||
const ExifByteOrder byte_order = exif_data_get_byte_order (ed);
|
const ExifByteOrder byte_order = exif_data_get_byte_order (ed);
|
||||||
|
|
||||||
exif_tag = metadatamux_exif_get_exif_from_tag (tag, &type, &ifd);
|
exif_tag = metadatamux_exif_get_exif_from_tag (tag, &type, &ifd);
|
||||||
|
|
Loading…
Reference in a new issue