mpegtsmux: basetsmux: Don't try to return value from void function

gstbasetsmux.c(1508): warning C4098: 'free_splice': 'void' function returning a value

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1018>
This commit is contained in:
Seungha Yang 2021-10-02 20:12:07 +09:00 committed by GStreamer Marge Bot
parent f54c2a2bac
commit 90e5e0efea

View file

@ -1505,7 +1505,7 @@ copy_splice (GstMpegtsSCTESpliceEvent * splice)
static void
free_splice (GstMpegtsSCTESpliceEvent * splice)
{
return g_boxed_free (GST_TYPE_MPEGTS_SCTE_SPLICE_EVENT, splice);
g_boxed_free (GST_TYPE_MPEGTS_SCTE_SPLICE_EVENT, splice);
}
/* FIXME: get rid of this when depending on glib >= 2.62 */