diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2007-12-26 16:03:57 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2007-12-26 16:03:57 +0000 |
commit | bcdeaa639b88bafd2d260ec262a2a38a19dfbeb6 (patch) | |
tree | 1515afc26b24b1905db793abeec85992beb1cccf /gst/wavparse | |
parent | 427ab08ae2095effe48bfd25b7a411222487dd7b (diff) |
Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x (i...
Original commit message from CVS:
* gst/avi/gstavidemux.c: (gst_avi_demux_loop):
* gst/wavparse/gstwavparse.c: (gst_wavparse_chain):
* sys/ximage/gstximagesrc.c: (composite_pixel):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x (it's
not really nice to abort in any case). Fixes #505745.
Diffstat (limited to 'gst/wavparse')
-rw-r--r-- | gst/wavparse/gstwavparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c index 40ad3219..c9e3a52a 100644 --- a/gst/wavparse/gstwavparse.c +++ b/gst/wavparse/gstwavparse.c @@ -1821,7 +1821,7 @@ gst_wavparse_chain (GstPad * pad, GstBuffer * buf) goto done; break; default: - g_assert_not_reached (); + g_return_val_if_reached (GST_FLOW_ERROR); } done: return ret; |