Fix "unused var" compiler error when --disable-gst-debug is used.

Original commit message from CVS:
Fix "unused var" compiler error when --disable-gst-debug is used.
This commit is contained in:
Edgard Lima 2008-04-22 12:11:30 +00:00
parent ca36cd465d
commit d65a5d0d57
3 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2008-04-22 Edgard Lima <edgard.lima@indt.org.br>
* gst/asfdemux/gstasfdemux.c:
* gst/asfdemux/gstrtspwms.c:
Fix "unused var" compiler error when --disable-gst-debug is used.
2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_loop):

View file

@ -2696,10 +2696,13 @@ gst_asf_demux_process_ext_stream_props (GstASFDemux * demux, guint8 * data,
guint16 num_payload_ext;
guint64 len;
guint8 *stream_obj_data = NULL;
guint8 *data_start = data;
guint obj_size = (guint) size;
guint8 *data_start;
guint obj_size;
guint i, stream_num;
data_start = data;
obj_size = (guint) size;
if (size < 64)
goto not_enough_data;

View file

@ -141,10 +141,11 @@ no_config:
static gboolean
gst_rtsp_wms_configure_stream (GstRTSPExtension * ext, GstCaps * caps)
{
GstRTSPWMS *ctx = (GstRTSPWMS *) ext;
GstRTSPWMS *ctx;
GstStructure *s;
const gchar *encoding;
ctx = (GstRTSPWMS *) ext;
s = gst_caps_get_structure (caps, 0);
encoding = gst_structure_get_string (s, "encoding-name");