mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
amrparse: Fix compilation warnings
This commit is contained in:
parent
ae6ad7554c
commit
1f47dee944
1 changed files with 5 additions and 2 deletions
|
@ -314,15 +314,18 @@ static void
|
||||||
gst_base_parse_finalize (GObject * object)
|
gst_base_parse_finalize (GObject * object)
|
||||||
{
|
{
|
||||||
GstBaseParse *parse = GST_BASE_PARSE (object);
|
GstBaseParse *parse = GST_BASE_PARSE (object);
|
||||||
|
GstEvent **p_ev;
|
||||||
|
|
||||||
g_mutex_free (parse->parse_lock);
|
g_mutex_free (parse->parse_lock);
|
||||||
g_object_unref (parse->adapter);
|
g_object_unref (parse->adapter);
|
||||||
|
|
||||||
if (parse->pending_segment) {
|
if (parse->pending_segment) {
|
||||||
gst_event_replace (&parse->pending_segment, NULL);
|
p_ev = &parse->pending_segment;
|
||||||
|
gst_event_replace (p_ev, NULL);
|
||||||
}
|
}
|
||||||
if (parse->close_segment) {
|
if (parse->close_segment) {
|
||||||
gst_event_replace (&parse->close_segment, NULL);
|
p_ev = &parse->close_segment;
|
||||||
|
gst_event_replace (p_ev, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parse->priv->cache) {
|
if (parse->priv->cache) {
|
||||||
|
|
Loading…
Reference in a new issue