mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ext/flac/gstflacdec.c: Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() ...
Original commit message from CVS: * ext/flac/gstflacdec.c: (gst_flac_dec_write): Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x and don't abort() in any case but properly report the error.
This commit is contained in:
parent
e2e5d42fd3
commit
3761fb69e6
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-12-29 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* ext/flac/gstflacdec.c: (gst_flac_dec_write):
|
||||
Fix 'xyz may be used uninitialized' compiler warnings caused
|
||||
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
|
||||
abort() in any case but properly report the error.
|
||||
|
||||
2007-12-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/avi/gstavidemux.c: (gst_avi_demux_loop):
|
||||
|
|
|
@ -899,7 +899,9 @@ gst_flac_dec_write (GstFlacDec * flacdec, const FLAC__Frame * frame,
|
|||
width = 32;
|
||||
break;
|
||||
default:
|
||||
g_assert_not_reached ();
|
||||
GST_ERROR_OBJECT (flacdec, "unsupported depth %d", depth);
|
||||
ret = GST_FLOW_ERROR;
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (!GST_PAD_CAPS (flacdec->srcpad)) {
|
||||
|
|
Loading…
Reference in a new issue