rademux: tags can be NULL
This commit is contained in:
parent
a0e9f6890e
commit
414986e17b
@ -365,6 +365,7 @@ gst_real_audio_demux_parse_header (GstRealAudioDemux * demux)
|
|||||||
demux->fourcc = GST_READ_UINT32_LE (data + 56);
|
demux->fourcc = GST_READ_UINT32_LE (data + 56);
|
||||||
demux->pending_tags = gst_rm_utils_read_tags (data + 63,
|
demux->pending_tags = gst_rm_utils_read_tags (data + 63,
|
||||||
demux->data_offset - 63, gst_rm_utils_read_string8);
|
demux->data_offset - 63, gst_rm_utils_read_string8);
|
||||||
|
if (demux->pending_tags)
|
||||||
gst_tag_list_set_scope (demux->pending_tags, GST_TAG_SCOPE_GLOBAL);
|
gst_tag_list_set_scope (demux->pending_tags, GST_TAG_SCOPE_GLOBAL);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user