Skip to content
This repository
Browse code

fixed broken build from 5ca72db

  • Loading branch information...
commit d274a2d761382806217e71075547764a1b1c9349 1 parent 975adef
authored July 28, 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 = boost::dynamic_cast<CAMLPlayer*>(g_application.m_pPlayer);
  1803
+  boost::shared_ptr<CAMLPlayer> amlplayer = boost::dynamic_pointer_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 d274a2d

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