Skip to content

Commit

Permalink
ogg: element_init returns void
Browse files Browse the repository at this point in the history
no need to return boolean as it will
be always TRUE.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1029>
  • Loading branch information
Stéphane Cerveau authored and GStreamer Marge Bot committed Mar 16, 2021
1 parent a750bc8 commit 930877b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ext/ogg/gstoggdemux.c
Expand Up @@ -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)
Expand Down

0 comments on commit 930877b

Please sign in to comment.