Module: wine Branch: master Commit: 6b9cfd2629767ba9e99eb8547258bea73c539a09 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6b9cfd2629767ba9e99eb85472...
Author: Aric Stewart aric@codeweavers.com Date: Tue Apr 24 13:47:08 2012 -0500
strmbase: get_VideoHeight should always have a positive height.
---
dlls/strmbase/video.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/strmbase/video.c b/dlls/strmbase/video.c index 83cd37f..1c4f360 100644 --- a/dlls/strmbase/video.c +++ b/dlls/strmbase/video.c @@ -156,7 +156,7 @@ HRESULT WINAPI BaseControlVideoImpl_get_VideoHeight(IBasicVideo *iface, LONG *pV TRACE("(%p/%p)->(%p)\n", This, iface, pVideoHeight);
vih = This->pFuncsTable->pfnGetVideoFormat(This); - *pVideoHeight = vih->bmiHeader.biHeight; + *pVideoHeight = abs(vih->bmiHeader.biHeight);
return S_OK; }