[rbp/omxplayer] prune from usage of DWORD and BYTE typedefs
authorpopcornmix <popcornmix@gmail.com>
Sun, 3 Nov 2013 14:59:35 +0000 (14:59 +0000)
committerpopcornmix <popcornmix@gmail.com>
Sun, 3 Nov 2013 16:20:46 +0000 (16:20 +0000)
xbmc/cores/omxplayer/OMXPlayer.cpp

index 920a26e..4b85ba6 100644 (file)
@@ -3590,10 +3590,10 @@ int COMXPlayer::OnDVDNavResult(void* pData, int iMessage)
           m_dvd.iDVDStillStartTime = XbmcThreads::SystemClockMillis();
 
           /* adjust for the output delay in the video queue */
-          DWORD time = 0;
+          unsigned int time = 0;
           if( m_CurrentVideo.stream && m_dvd.iDVDStillTime > 0 )
           {
-            time = (DWORD)(m_omxPlayerVideo.GetOutputDelay() / ( DVD_TIME_BASE / 1000 ));
+            time = (unsigned int)(m_omxPlayerVideo.GetOutputDelay() / ( DVD_TIME_BASE / 1000 ));
             if( time < 10000 && time > 0 )
               m_dvd.iDVDStillTime += time;
           }
@@ -3607,7 +3607,7 @@ int COMXPlayer::OnDVDNavResult(void* pData, int iMessage)
       break;
     case DVDNAV_SPU_CLUT_CHANGE:
       {
-        m_dvdPlayerSubtitle.SendMessage(new CDVDMsgSubtitleClutChange((BYTE*)pData));
+        m_dvdPlayerSubtitle.SendMessage(new CDVDMsgSubtitleClutChange((uint8_t*)pData));
       }
       break;
     case DVDNAV_SPU_STREAM_CHANGE: