- fix constness

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@911 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
seife
2010-11-28 22:00:54 +00:00
parent 237b53724e
commit 6184b6c1dc
2 changed files with 6 additions and 5 deletions

View File

@@ -609,13 +609,13 @@ printf("CSubtitleChangeExec::exec: action %s\n", actionKey.c_str());
return menu_return::RETURN_EXIT;
}
if(!strncmp(actionKey.c_str(), "DVB", 3)) {
const char *pidptr = strchr(actionKey.c_str(), ':');
char const * pidptr = strchr(actionKey.c_str(), ':');
int pid = atoi(pidptr+1);
tuxtx_stop_subtitle();
dvbsub_pause();
dvbsub_start(pid);
} else {
const char *ptr = strchr(actionKey.c_str(), ':');
char const * ptr = strchr(actionKey.c_str(), ':');
ptr++;
int pid = atoi(ptr);
ptr = strchr(ptr, ':');