strmbase: get_VideoHeight should always have a positive height.

This commit is contained in:
Aric Stewart 2012-04-24 13:47:08 -05:00 committed by Alexandre Julliard
parent dc830aa640
commit 6b9cfd2629
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}