tag: exif: Fix unitialized data warning
Fixes a valgrind warning on jifmux tests on -bad caused by unitialized bytes. Fixes #637758
This commit is contained in:
parent
b11303319c
commit
17777f2596
@ -752,7 +752,7 @@ static void
|
||||
write_exif_undefined_tag (GstExifWriter * writer, guint16 tag,
|
||||
const guint8 * data, gint size)
|
||||
{
|
||||
guint32 offset;
|
||||
guint32 offset = 0;
|
||||
|
||||
if (size > 4) {
|
||||
/* we only use the data offset here, later we add up the
|
||||
@ -773,7 +773,7 @@ static void
|
||||
write_exif_ascii_tag (GstExifWriter * writer, guint16 tag, const gchar * str)
|
||||
{
|
||||
gint size;
|
||||
guint32 offset;
|
||||
guint32 offset = 0;
|
||||
|
||||
size = strlen (str) + 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user