diff options
author | rofafor <rofafor> | 2009-09-05 21:27:25 +0000 |
---|---|---|
committer | rofafor <rofafor> | 2009-09-05 21:27:25 +0000 |
commit | 84068b00e806348325d9aeedb1e4feebb396c6b6 (patch) | |
tree | d0ebb161e254b62a76d6223fd1e85bcba27e1ff1 | |
parent | 4379d9d084413b8042090b13b0505f844a11c26d (diff) | |
download | xineliboutput-84068b00e806348325d9aeedb1e4feebb396c6b6.tar.gz xineliboutput-84068b00e806348325d9aeedb1e4feebb396c6b6.tar.bz2 |
Fixed return type error.
-rw-r--r-- | frontend.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); } |