summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebrn@axis.com>2012-10-22 15:54:17 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-10-22 23:19:28 +0100
commit9fc62a58e3a21ed3354225cc64cdeb6b865cd094 (patch)
treed12d49561cbf1254326bb0d7cacaeb9fac54528b
parenta2eead3d60b1f87c26d9f795a614982be6cb3166 (diff)
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
-rw-r--r--gst/udp/gstudpsrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index ef211efb5..2d4cddf85 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;
}