[Bug 760421] info: expose custom vasprintf implementation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 11 10:27:24 PST 2016


https://bugzilla.gnome.org/show_bug.cgi?id=760421

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Do you need all these different variants? If so, looks fine to me.

>+  if (gst_info_vasprintf (&ret, format, args) <= 0)
>+    ret = NULL;

Not sure about the <= 0 here, format="" should result in an empty return string
and not NULL I suppose, or does the return value include the terminator? (Not
that it's a terribly important corner case for debugging statements..)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list