mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
qtdemux: Don't check for NULL pointers or cast to gpointer as this is
not needed
This commit is contained in:
parent
a340359127
commit
c93ea637ef
1 changed files with 7 additions and 14 deletions
|
@ -1581,20 +1581,13 @@ gst_qtdemux_get_index (GstElement * element)
|
||||||
static void
|
static void
|
||||||
gst_qtdemux_stbl_free (QtDemuxStream * stream)
|
gst_qtdemux_stbl_free (QtDemuxStream * stream)
|
||||||
{
|
{
|
||||||
if (stream->stco.data)
|
g_free (stream->stco.data);
|
||||||
g_free ((gpointer) stream->stco.data);
|
g_free (stream->stsz.data);
|
||||||
if (stream->stsz.data)
|
g_free (stream->stsc.data);
|
||||||
g_free ((gpointer) stream->stsz.data);
|
g_free (stream->stts.data);
|
||||||
if (stream->stsc.data)
|
g_free (stream->stss.data);
|
||||||
g_free ((gpointer) stream->stsc.data);
|
g_free (stream->stps.data);
|
||||||
if (stream->stts.data)
|
g_free (stream->ctts.data);
|
||||||
g_free ((gpointer) stream->stts.data);
|
|
||||||
if (stream->stss.data)
|
|
||||||
g_free ((gpointer) stream->stss.data);
|
|
||||||
if (stream->stps.data)
|
|
||||||
g_free ((gpointer) stream->stps.data);
|
|
||||||
if (stream->ctts.data)
|
|
||||||
g_free ((gpointer) stream->ctts.data);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstStateChangeReturn
|
static GstStateChangeReturn
|
||||||
|
|
Loading…
Reference in a new issue