Commit b4086a12 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: reverse the height only if it needs to be reversed

parent 9b58a259
......@@ -553,7 +553,7 @@ static int Open( vlc_object_t * p_this )
p_vids->p_bih->biBitCount,
(float)tk->i_rate/(float)tk->i_scale );
if( p_vids->p_bih->biCompression == 0x00 )
if( p_vids->p_bih->biCompression == 0x00 && fmt.video.i_height <= 0 )
{
/* RGB DIB are coded from bottom to top */
fmt.video.i_height =
......
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