mciavi32: Start playing from frame 0 instead of 1.

This commit is contained in:
Bruno Jesus 2015-09-17 15:58:39 +08:00 committed by Alexandre Julliard
parent 1862c38f7d
commit ab4460a382
1 changed files with 1 additions and 1 deletions

View File

@ -393,8 +393,8 @@ static DWORD MCIAVI_player(WINE_MCIAVI *wma, DWORD dwFlags, LPMCI_PLAY_PARMS lpP
{
while(next_frame_us <= tc && wma->dwCurrVideoFrame < wma->dwToVideoFrame){
double dur;
++wma->dwCurrVideoFrame;
dur = MCIAVI_PaintFrame(wma, hDC);
++wma->dwCurrVideoFrame;
if(!dur)
break;
next_frame_us += dur;