Skip to content
This repository
Browse code

Update AMLPlayer.cpp

Proper fixed as suggested by davilla and  Arne
  • Loading branch information...
commit 5ca72dbcd4b41513892e5fb602f00eb784d54a52 1 parent ed580ff
authored July 23, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/cores/amlplayer/AMLPlayer.cpp
2  xbmc/cores/amlplayer/AMLPlayer.cpp
@@ -1800,7 +1800,7 @@ int CAMLPlayer::UpdatePlayerInfo(int pid, player_info_t *info)
1800 1800
   // we get called when status changes or after update time expires.
1801 1801
   // static callback from libamplayer, since it does not pass an opaque,
1802 1802
   // we have to retreve our player class reference the hard way.
1803  
-  CAMLPlayer *amlplayer = dynamic_cast<CAMLPlayer*>(g_application.m_pPlayer);
  1803
+  CAMLPlayer *amlplayer = boost::dynamic_cast<CAMLPlayer*>(g_application.m_pPlayer);
1804 1804
   if (amlplayer)
1805 1805
   {
1806 1806
     CSingleLock lock(amlplayer->m_aml_state_csection);

0 notes on commit 5ca72db

Please sign in to comment.
Something went wrong with that request. Please try again.