summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofafor <rofafor>2009-09-05 21:27:25 +0000
committerrofafor <rofafor>2009-09-05 21:27:25 +0000
commit84068b00e806348325d9aeedb1e4feebb396c6b6 (patch)
treed0ebb161e254b62a76d6223fd1e85bcba27e1ff1
parent4379d9d084413b8042090b13b0505f844a11c26d (diff)
downloadxineliboutput-84068b00e806348325d9aeedb1e4feebb396c6b6.tar.gz
xineliboutput-84068b00e806348325d9aeedb1e4feebb396c6b6.tar.bz2
Fixed return type error.
-rw-r--r--frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend.c b/frontend.c
index 2af2c395..9c8da413 100644
--- a/frontend.c
+++ b/frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: frontend.c,v 1.75 2009-09-05 09:48:21 phintuka Exp $
+ * $Id: frontend.c,v 1.76 2009-09-05 21:27:25 rofafor Exp $
*
*/
@@ -157,7 +157,7 @@ void cXinelibThread::InfoHandler(const char *info)
char *lang = map;
while(*map && *map != ' ') map++;
if(*map == ' ') { *map = 0; map++; };
- cXinelibDevice::Instance().SetAvailableTrack(ttDolby, id, ttDolby+id, iso639_2_to_iso639_1(lang) ?: cString::sprintf("%03d", id+1));
+ cXinelibDevice::Instance().SetAvailableTrack(ttDolby, id, ttDolby+id, iso639_2_to_iso639_1(lang) ?: *cString::sprintf("%03d", id+1));
if(Current)
cXinelibDevice::Instance().SetCurrentAudioTrack((eTrackType)(ttDolby+id));
}