ogg: element_init returns void

no need to return boolean as it will
be always TRUE.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1029>
This commit is contained in:
Stéphane Cerveau 2021-03-16 17:53:54 +01:00 committed by GStreamer Marge Bot
parent a750bc8f23
commit 930877b022

View file

@ -2296,11 +2296,8 @@ static gboolean gst_ogg_demux_plugin_init (GstPlugin * plugin);
#define gst_ogg_demux_parent_class parent_class #define gst_ogg_demux_parent_class parent_class
G_DEFINE_TYPE (GstOggDemux, gst_ogg_demux, GST_TYPE_ELEMENT); 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_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 static void
gst_ogg_demux_class_init (GstOggDemuxClass * klass) gst_ogg_demux_class_init (GstOggDemuxClass * klass)