diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-05-20 11:22:30 +0200 |
|---|---|---|
| committer | Fraxinas <andreas.frisch@multimedia-labs.de> | 2009-05-20 11:22:30 +0200 |
| commit | 258b45224b4ab38d8019b8bcd9f51d5143719b4a (patch) | |
| tree | 78199876f2c56a3b0347910f4301392a19ffd5f6 /lib/service/servicemp3.cpp | |
| parent | af91ffbe45ff61ff09761d85dea1e0a17e0309ff (diff) | |
| download | enigma2-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.cpp | 2 |
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) |
