people prefer mysterious failures
authorThomas Vander Stichele <thomas@apestaart.org>
Fri, 13 Dec 2002 10:23:07 +0000 (10:23 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Fri, 13 Dec 2002 10:23:07 +0000 (10:23 +0000)
Original commit message from CVS:
people prefer mysterious failures

ext/mad/gstmad.c

index 2b50b8e..8741deb 100644 (file)
@@ -1000,7 +1000,7 @@ gst_mad_chain (GstPad *pad, GstBuffer *buffer)
   gboolean new_pts = FALSE;
 
   mad = GST_MAD (gst_pad_get_parent (pad));
-  g_assert (GST_IS_MAD (mad));
+  g_return_if_fail (GST_IS_MAD (mad));
 
   /* handle events */
   if (GST_IS_EVENT (buffer))