summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/flac/gstflacdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c
index 23fa79ce..4ad44f87 100644
--- a/ext/flac/gstflacdec.c
+++ b/ext/flac/gstflacdec.c
@@ -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)) {