Paul Gofman : avifil32: Update lCurrentFrame in IGetFrame_fnGetFrame().
Module: wine Branch: master Commit: a2c20d0e93290b3f998ad78c7aeaed8028aee2da URL: https://gitlab.winehq.org/wine/wine/-/commit/a2c20d0e93290b3f998ad78c7aeaed8... Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu Mar 28 12:40:37 2024 -0600 avifil32: Update lCurrentFrame in IGetFrame_fnGetFrame(). --- dlls/avifil32/getframe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/avifil32/getframe.c b/dlls/avifil32/getframe.c index c6df7339256..0b58c3f064f 100644 --- a/dlls/avifil32/getframe.c +++ b/dlls/avifil32/getframe.c @@ -254,6 +254,8 @@ static LPVOID WINAPI IGetFrame_fnGetFrame(IGetFrame *iface, LONG lPos) } /* for (lNext < lPos) */ } /* if (This->lCurrentFrame != lPos) */ + This->lCurrentFrame = lPos; + return (This->hic == NULL ? This->lpInFormat : This->lpOutFormat); }
participants (1)
-
Alexandre Julliard