aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicemp3.cpp
diff options
context:
space:
mode:
authorFraxinas <andreas.frisch@multimedia-labs.de>2009-05-20 11:22:30 +0200
committerFraxinas <andreas.frisch@multimedia-labs.de>2009-05-20 11:22:30 +0200
commit258b45224b4ab38d8019b8bcd9f51d5143719b4a (patch)
tree78199876f2c56a3b0347910f4301392a19ffd5f6 /lib/service/servicemp3.cpp
parentaf91ffbe45ff61ff09761d85dea1e0a17e0309ff (diff)
downloadenigma2-258b45224b4ab38d8019b8bcd9f51d5143719b4a.tar.gz
enigma2-258b45224b4ab38d8019b8bcd9f51d5143719b4a.zip
replacing instead of accumulating of tags in taglist (fixes possible buffer overflow on streams)
Diffstat (limited to 'lib/service/servicemp3.cpp')
-rw-r--r--lib/service/servicemp3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index b179da84..73a12430 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -1044,7 +1044,7 @@ void eServiceMP3::gstBusCall(GstBus *bus, GstMessage *msg)
GstTagList *tags, *result;
gst_message_parse_tag(msg, &tags);
- result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_PREPEND);
+ result = gst_tag_list_merge(m_stream_tags, tags, GST_TAG_MERGE_REPLACE);
if (result)
{
if (m_stream_tags)