Commit 96f2bbe6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

dshow: remove negative video height, signed overflow (fixes #10998)

parent ff9139a5
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment