mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
tools/gst-launch.c: Fix use of uninitialized variable in the hypothetical case that some broken plugin creates a GST_...
Original commit message from CVS: * tools/gst-launch.c: (print_tag): Fix use of uninitialized variable in the hypothetical case that some broken plugin creates a GST_TAG_IMAGE tag containing a NULL buffer (#341667).
This commit is contained in:
parent
aa0515d436
commit
ede8ab01eb
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* tools/gst-launch.c: (print_tag):
|
||||||
|
Fix use of uninitialized variable in the hypothetical
|
||||||
|
case that some broken plugin creates a GST_TAG_IMAGE
|
||||||
|
tag containing a NULL buffer (#341667).
|
||||||
|
|
||||||
2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
|
2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* tools/gst-launch.c: (print_tag):
|
* tools/gst-launch.c: (print_tag):
|
||||||
|
|
|
@ -257,6 +257,8 @@ print_tag (const GstTagList * list, const gchar * tag, gpointer unused)
|
||||||
str = g_strdup_printf ("buffer of %u bytes, type: %s",
|
str = g_strdup_printf ("buffer of %u bytes, type: %s",
|
||||||
GST_BUFFER_SIZE (img), caps_str);
|
GST_BUFFER_SIZE (img), caps_str);
|
||||||
g_free (caps_str);
|
g_free (caps_str);
|
||||||
|
} else {
|
||||||
|
str = g_strdup ("NULL buffer");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
str =
|
str =
|
||||||
|
|
Loading…
Reference in a new issue