From f59ca21a50ed7bb941264c3362f595a61d0da869 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 20 Aug 2006 13:05:43 +0000 Subject: gst/audioconvert/gstaudioconvert.c: Lower debug, use g_assert in _get_unit_size Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_get_unit_size), (set_structure_widths): Lower debug, use g_assert in _get_unit_size * gst/audioresample/gstaudioresample.c: (audioresample_get_unit_size): * gst/ffmpegcolorspace/gstffmpegcolorspace.c: (gst_ffmpegcsp_get_unit_size): * gst/videoscale/gstvideoscale.c: (gst_video_scale_get_unit_size): use g_assert in _get_unit_size --- gst/audioresample/gstaudioresample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gst/audioresample') diff --git a/gst/audioresample/gstaudioresample.c b/gst/audioresample/gstaudioresample.c index c878d02e..5954b2b7 100644 --- a/gst/audioresample/gstaudioresample.c +++ b/gst/audioresample/gstaudioresample.c @@ -237,7 +237,7 @@ audioresample_get_unit_size (GstBaseTransform * base, GstCaps * caps, GstStructure *structure; gboolean ret; - g_return_val_if_fail (size, FALSE); + g_assert (size); /* this works for both float and int */ structure = gst_caps_get_structure (caps, 0); -- cgit v1.2.1