summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/smoothstreaming/gstmssdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/smoothstreaming/gstmssdemux.c b/ext/smoothstreaming/gstmssdemux.c
index 85f0ec89a..bcea8ca07 100644
--- a/ext/smoothstreaming/gstmssdemux.c
+++ b/ext/smoothstreaming/gstmssdemux.c
@@ -489,7 +489,7 @@ gst_mss_demux_setup_streams (GstAdaptiveDemux * demux)
if (protected) {
GstBuffer *protection_buffer =
- gst_buffer_new_wrapped ((gpointer) protection_data,
+ gst_buffer_new_wrapped (g_strdup (protection_data),
strlen (protection_data));
GstEvent *event =
gst_event_new_protection (protection_system_id, protection_buffer,