From 4ec41347e2c8aadcf7203f324eab286ac85429f4 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 9 Sep 2002 23:24:29 +0000 Subject: removing warnings (approved by wtay) Original commit message from CVS: removing warnings (approved by wtay) --- gst/avi/gstavimux.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gst/avi/gstavimux.c') diff --git a/gst/avi/gstavimux.c b/gst/avi/gstavimux.c index 83b0a9a0..211a2901 100644 --- a/gst/avi/gstavimux.c +++ b/gst/avi/gstavimux.c @@ -1121,15 +1121,13 @@ plugin_init (GModule *module, GstPlugin *plugin) /* this filter needs the riff parser */ #if 0 - if (!gst_library_load ("gstriff")) { - gst_info ("avimux: could not load support library: 'gstriff'\n"); + if (!gst_library_load ("gstriff")) return FALSE; - } #endif /* create an elementfactory for the avimux element */ factory = gst_element_factory_new ("avimux", GST_TYPE_AVIMUX, - &gst_avimux_details); + &gst_avimux_details); g_return_val_if_fail (factory != NULL, FALSE); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_factory)); -- cgit