]> git.sesse.net Git - vlc/commit
core: fix a wrong division
authorErwan Tulou <erwan10@videolan.org>
Thu, 10 Jun 2010 16:09:42 +0000 (18:09 +0200)
committerErwan Tulou <erwan10@videolan.org>
Thu, 10 Jun 2010 16:37:28 +0000 (18:37 +0200)
commit30efd37a75ab41794a3999cf949a41dcb1c1dc1d
tree8c376c23ffccc3e35d344c0649c8cd26d6c07449
parent3a6ce9618b93435f8e8e2b0b3c9310e9752c870f
core: fix a wrong division

Dividing an unsigned int by 2 is different from dividing an int by 2

This division was the cause for vlc(Win32) displaying a black screen
when zooming exceeded the display size (alt-'o')

Weirdly, there was no problem for Linux !!?? and also no regression :)
src/video_output/display.c