vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Oct 20 18:06:57 2014 +0300| [96f2bbe665535005fb1db0118daa37c09f909f9d] | committer: Rémi Denis-Courmont
dshow: remove negative video height, signed overflow (fixes #10998) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96f2bbe665535005fb1db0118daa37c09f909f9d --- modules/access/dshow/dshow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp index 0e21fe4..107edd5 100644 --- a/modules/access/dshow/dshow.cpp +++ b/modules/access/dshow/dshow.cpp @@ -732,7 +732,7 @@ static int DemuxOpen( vlc_object_t *p_this ) if( !p_stream->header.video.bmiHeader.biCompression ) { /* RGB DIB are coded from bottom to top */ - fmt.video.i_height = (unsigned int)(-(int)fmt.video.i_height); + fmt.video.orientation = ORIENT_BOTTOM_LEFT; } /* Setup rgb mask for RGB formats */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
