From: Sebastian Rasmussen Date: Mon, 22 Oct 2012 13:54:17 +0000 (+0200) Subject: updsrc: fix typo causing compilation error X-Git-Tag: 1.19.3~509^2~6435 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fc62a58e3a21ed3354225cc64cdeb6b865cd094;p=platform%2Fupstream%2Fgstreamer.git updsrc: fix typo causing compilation error gstudpsrc.c: In function 'gst_udpsrc_create': gstudpsrc.c:365: error: 'ret' may be used uninitialized in this function https://bugzilla.gnome.org/show_bug.cgi?id=686642 --- diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index ef211ef..2d4cddf 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -515,7 +515,7 @@ receive_error: return GST_FLOW_FLUSHING; } else { GST_ELEMENT_ERROR (udpsrc, RESOURCE, READ, (NULL), - ("receive error %" G_GSSIZE_FORMAT ": %s", ret, err->message)); + ("receive error %" G_GSSIZE_FORMAT ": %s", res, err->message)); g_clear_error (&err); return GST_FLOW_ERROR; }