build fix: declare variable at start of block

Original commit message from CVS:
build fix: declare variable at start of block
This commit is contained in:
David I. Lehn 2002-12-17 05:57:00 +00:00
parent a50b19e921
commit 9010198627

View file

@ -233,11 +233,11 @@ gst_udpsrc_get (GstPad *pad)
if (udpsrc->first_buf) { if (udpsrc->first_buf) {
if (udpsrc->clock) { if (udpsrc->clock) {
GstClockTime current_time; GstClockTime current_time;
GstEvent *discont;
current_time = gst_clock_get_time (udpsrc->clock); current_time = gst_clock_get_time (udpsrc->clock);
GST_BUFFER_TIMESTAMP (outbuf) = current_time; GST_BUFFER_TIMESTAMP (outbuf) = current_time;
GstEvent *discont;
discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME, discont = gst_event_new_discontinuous (FALSE, GST_FORMAT_TIME,
current_time, NULL); current_time, NULL);