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
This commit is contained in:
Sebastian Rasmussen 2012-10-22 15:54:17 +02:00 committed by Tim-Philipp Müller
parent a2eead3d60
commit 9fc62a58e3

View file

@ -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;
}