diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 17:50:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 21:40:56 +0100 |
commit | ff75b172cc86374969a986ee94cac0931d95a5cd (patch) | |
tree | 21aa4b4a8b9b476868570bf8df0a79da61f955dd /avmedia | |
parent | 35000da925d9afd5d8c4f7f98155c28883c2e5e0 (diff) |
BITMAPINFOHEADER::biWidth,biHeight are of type LONG
Change-Id: Iba16ea38867499d2963e389dffec4e72daf1bcad
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106605
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/win/framegrabber.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avmedia/source/win/framegrabber.cxx b/avmedia/source/win/framegrabber.cxx index 4fd0d8b519b2..249648f04f96 100644 --- a/avmedia/source/win/framegrabber.cxx +++ b/avmedia/source/win/framegrabber.cxx @@ -138,7 +138,8 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe ( fLength > 0.0 ) && ( fMediaTime >= 0.0 ) && ( fMediaTime <= fLength ) ) { AM_MEDIA_TYPE aMediaType; - long nWidth = 0, nHeight = 0, nSize = 0; + LONG nWidth = 0, nHeight = 0; + long nSize = 0; if( SUCCEEDED( pDet->get_StreamMediaType( &aMediaType ) ) ) { |