[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesupport/phonon/xine
From: Kelvie Wong <kelvie () ieee ! org>
Date: 2010-01-30 18:20:04
Message-ID: 1264875604.739248.28895.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1082522 by kelvie:
Phonon: check get_xine_stream_text's return value
Instead of returning trash, return an empty string on error.
M +2 -1 xinestream.cpp
--- trunk/kdesupport/phonon/xine/xinestream.cpp #1082521:1082522
@@ -1664,7 +1664,8 @@
{
QByteArray lang;
lang.resize(150);
- get_xine_stream_text(m_stream, index, lang.data());
+ if (!get_xine_stream_text(m_stream, index, lang.data()))
+ lang = QByteArray();
QHash<QByteArray, QVariant> properities;
properities.insert("name", QString(lang));
Backend::setObjectDescriptionProperities(type, index + hash, properities);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic