From 9010198627a374f7c515fd4383943ce175309c74 Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Tue, 17 Dec 2002 05:57:00 +0000 Subject: [PATCH] build fix: declare variable at start of block Original commit message from CVS: build fix: declare variable at start of block --- gst/udp/gstudpsrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c index abb4f85..950aa0d 100644 --- a/gst/udp/gstudpsrc.c +++ b/gst/udp/gstudpsrc.c @@ -233,11 +233,11 @@ gst_udpsrc_get (GstPad *pad) if (udpsrc->first_buf) { if (udpsrc->clock) { GstClockTime current_time; + GstEvent *discont; current_time = gst_clock_get_time (udpsrc->clock); GST_BUFFER_TIMESTAMP (outbuf) = current_time; - GstEvent *discont; discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME, current_time, NULL); -- 2.7.4