Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2997 from mvdroest/patch-2

Update AMLPlayer.cpp
  • Loading branch information...
commit 09c76f8fccb8494284981111a51046d759d1daad 2 parents ed580ff + 5ca72db
@davilla davilla authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cores/amlplayer/AMLPlayer.cpp
2  xbmc/cores/amlplayer/AMLPlayer.cpp
@@ -1800,7 +1800,7 @@ int CAMLPlayer::UpdatePlayerInfo(int pid, player_info_t *info)
// we get called when status changes or after update time expires.
// static callback from libamplayer, since it does not pass an opaque,
// we have to retreve our player class reference the hard way.
- CAMLPlayer *amlplayer = dynamic_cast<CAMLPlayer*>(g_application.m_pPlayer);
+ CAMLPlayer *amlplayer = boost::dynamic_cast<CAMLPlayer*>(g_application.m_pPlayer);
if (amlplayer)
CSingleLock lock(amlplayer->m_aml_state_csection);
Please sign in to comment.
Something went wrong with that request. Please try again.