mulawdec: Require caps to be set before accepting any data
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c
index a26a34d..cc3efa1 100644
--- a/gst/law/mulaw-decode.c
+++ b/gst/law/mulaw-decode.c
@@ -159,4 +159,5 @@
 static void
 gst_mulawdec_init (GstMuLawDec * mulawdec)
 {
+  gst_audio_decoder_set_needs_format (GST_AUDIO_DECODER (mulawdec), TRUE);
 }