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:
parent
ca36cd465d
commit
d65a5d0d57
@ -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>
|
2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_loop):
|
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_loop):
|
||||||
|
@ -2696,10 +2696,13 @@ gst_asf_demux_process_ext_stream_props (GstASFDemux * demux, guint8 * data,
|
|||||||
guint16 num_payload_ext;
|
guint16 num_payload_ext;
|
||||||
guint64 len;
|
guint64 len;
|
||||||
guint8 *stream_obj_data = NULL;
|
guint8 *stream_obj_data = NULL;
|
||||||
guint8 *data_start = data;
|
guint8 *data_start;
|
||||||
guint obj_size = (guint) size;
|
guint obj_size;
|
||||||
guint i, stream_num;
|
guint i, stream_num;
|
||||||
|
|
||||||
|
data_start = data;
|
||||||
|
obj_size = (guint) size;
|
||||||
|
|
||||||
if (size < 64)
|
if (size < 64)
|
||||||
goto not_enough_data;
|
goto not_enough_data;
|
||||||
|
|
||||||
|
@ -141,10 +141,11 @@ no_config:
|
|||||||
static gboolean
|
static gboolean
|
||||||
gst_rtsp_wms_configure_stream (GstRTSPExtension * ext, GstCaps * caps)
|
gst_rtsp_wms_configure_stream (GstRTSPExtension * ext, GstCaps * caps)
|
||||||
{
|
{
|
||||||
GstRTSPWMS *ctx = (GstRTSPWMS *) ext;
|
GstRTSPWMS *ctx;
|
||||||
GstStructure *s;
|
GstStructure *s;
|
||||||
const gchar *encoding;
|
const gchar *encoding;
|
||||||
|
|
||||||
|
ctx = (GstRTSPWMS *) ext;
|
||||||
s = gst_caps_get_structure (caps, 0);
|
s = gst_caps_get_structure (caps, 0);
|
||||||
encoding = gst_structure_get_string (s, "encoding-name");
|
encoding = gst_structure_get_string (s, "encoding-name");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user