10l: screen_height calculation was using an uninitialized variable

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22043 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2007-01-28 14:48:14 +00:00
parent 48eb95537d
commit 254548c4b3
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ int vixInit(void)
inSISIDXREG(SISCR, 0x07, cr_data2);
sis_screen_height =
((cr_data & 0xff) | ((uint16_t) (cr_data2 & 0x02) << 7) |
((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (sr_data & 0x02)
((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (cr_data & 0x02)
<< 9)) + 1;
inSISIDXREG(SISSR, 0x0b, sr_data);