From f42029d79ffe2ff83bc8f9776c70870a67434435 Mon Sep 17 00:00:00 2001 From: Jens Granseuer Date: Mon, 23 Jan 2006 09:59:03 +0000 Subject: C89 fixes: declare variables at the beginning of a block and Original commit message from CVS: * ext/libpng/gstpngenc.c: (gst_pngenc_chain): * gst/avi/gstavidemux.c: (gst_avi_demux_invert): * gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_setcaps): * gst/rtsp/sdpmessage.h: * gst/udp/gstdynudpsink.c: (gst_dynudpsink_render): * gst/udp/gstmultiudpsink.c: (gst_multiudpsink_get_stats): C89 fixes: declare variables at the beginning of a block and make gcc-2.9x happy (#328264; patch by: Jens Granseuer ). --- gst/rtsp/sdpmessage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/rtsp') diff --git a/gst/rtsp/sdpmessage.h b/gst/rtsp/sdpmessage.h index e50a9ee9..22c5b1d3 100644 --- a/gst/rtsp/sdpmessage.h +++ b/gst/rtsp/sdpmessage.h @@ -52,7 +52,7 @@ typedef struct { gchar *start; gchar *stop; gint n_repeat; - gchar *repeat[]; + gchar **repeat; } SDPTime; typedef struct { -- cgit