projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e7d0a8
)
rmdemux: fix assertion error when freeing old tags.
author
Vineeth TM
<vineeth.tm@samsung.com>
Thu, 6 Aug 2015 01:05:53 +0000
(10:05 +0900)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Thu, 6 Aug 2015 04:59:56 +0000
(
01:59
-0300)
Check if old_tags is present before calling gst_tag_list_unref
https://bugzilla.gnome.org/show_bug.cgi?id=753301
gst/realmedia/rmdemux.c
patch
|
blob
|
history
diff --git
a/gst/realmedia/rmdemux.c
b/gst/realmedia/rmdemux.c
index
3681bef
..
e670f98
100644
(file)
--- a/
gst/realmedia/rmdemux.c
+++ b/
gst/realmedia/rmdemux.c
@@
-1938,7
+1938,8
@@
gst_rmdemux_parse_cont (GstRMDemux * rmdemux, const guint8 * data, int length)
gst_tag_list_merge (old_tags, tags, GST_TAG_MERGE_APPEND);
gst_tag_list_unref (tags);
- gst_tag_list_unref (old_tags);
+ if (old_tags)
+ gst_tag_list_unref (old_tags);
gst_tag_list_set_scope (rmdemux->pending_tags, GST_TAG_SCOPE_GLOBAL);
}