From: Stéphane Cerveau Date: Tue, 16 Mar 2021 16:53:54 +0000 (+0100) Subject: ogg: element_init returns void X-Git-Tag: 1.19.3~511^2~216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=930877b0221c11917557aabfb106f5b17a903bcc;p=platform%2Fupstream%2Fgstreamer.git ogg: element_init returns void no need to return boolean as it will be always TRUE. Part-of: --- diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 70ba16a..c8d61a8 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2296,11 +2296,8 @@ static gboolean gst_ogg_demux_plugin_init (GstPlugin * plugin); #define gst_ogg_demux_parent_class parent_class G_DEFINE_TYPE (GstOggDemux, gst_ogg_demux, GST_TYPE_ELEMENT); - -#define _do_init \ - gst_ogg_demux_plugin_init (plugin); GST_ELEMENT_REGISTER_DEFINE_WITH_CODE (oggdemux, "oggdemux", GST_RANK_PRIMARY, - GST_TYPE_OGG_DEMUX, _do_init); + GST_TYPE_OGG_DEMUX, gst_ogg_demux_plugin_init (plugin)); static void gst_ogg_demux_class_init (GstOggDemuxClass * klass)