diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-28 14:48:14 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-01-28 14:48:14 +0000 |
commit | 254548c4b39fb7d5e5c7ab054cc48398ffcc030d (patch) | |
tree | c86a5b8f99b8e4fc0b17bdc95e6e71754d12307a /vidix | |
parent | 48eb95537d776a836c0f7860008f667b6d4c1548 (diff) | |
download | mpv-254548c4b39fb7d5e5c7ab054cc48398ffcc030d.tar.bz2 mpv-254548c4b39fb7d5e5c7ab054cc48398ffcc030d.tar.xz |
10l: screen_height calculation was using an uninitialized variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22043 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r-- | vidix/drivers/sis_vid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vidix/drivers/sis_vid.c b/vidix/drivers/sis_vid.c index 535a299581..e42000161e 100644 --- a/vidix/drivers/sis_vid.c +++ b/vidix/drivers/sis_vid.c @@ -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); |