summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-08-08 15:23:27 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-08-08 15:23:27 +0100
commit7f7b4522fa53ac85f3eee9d3e09bd1374bdfc014 (patch)
treec0ce35041966551306e9138dfabb41ac4dcec16d /gst
parentf7a4318b5427e57887f9aea756575b9910a1cd16 (diff)
gst: silence some compiler warnings with -DG_DISABLE_ASSERT
Diffstat (limited to 'gst')
-rw-r--r--gst/asfdemux/asfpacket.c1
-rw-r--r--gst/realmedia/rmdemux.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/asfdemux/asfpacket.c b/gst/asfdemux/asfpacket.c
index 5942730d..f9b13fb3 100644
--- a/gst/asfdemux/asfpacket.c
+++ b/gst/asfdemux/asfpacket.c
@@ -60,6 +60,7 @@ asf_packet_read_varlen_int (guint lentype_flags, guint lentype_bit_offset,
val = GST_READ_UINT32_LE (*p_data);
break;
default:
+ val = 0;
g_assert_not_reached ();
}
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index 8ce9f09b..86243390 100644
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
@@ -2139,6 +2139,7 @@ gst_rmdemux_handle_scrambled_packet (GstRMDemux * rmdemux,
ret = gst_rmdemux_descramble_sipr_audio (rmdemux, stream);
break;
default:
+ ret = GST_FLOW_ERROR;
g_assert_not_reached ();
}