projects
/
handbrake
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
220a5d6
)
WinGui: Fix a second Integer overflow.
author
sr55
<sr55.hb@outlook.com>
Sat, 25 Aug 2012 19:43:58 +0000
(19:43 +0000)
committer
sr55
<sr55.hb@outlook.com>
Sat, 25 Aug 2012 19:43:58 +0000
(19:43 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4917
b64f7644
-9d1e-0410-96f1-
a4d463321fa5
win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
patch
|
blob
|
history
diff --git
a/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
b/win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
index 0c492b138c84223380a5e38cd542906663496fd6..2c879ff5817821fb9cd19665f93b9c218736479a 100644
(file)
--- a/
win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
+++ b/
win/CS/HandBrakeWPF/ViewModels/PictureSettingsViewModel.cs
@@
-1004,7
+1004,7
@@
namespace HandBrakeWPF.ViewModels
\r
double new_width = ((double)this.Height * this.sourceResolution.Height * this.SourceAspect.Width *
\r
crop_width) /
\r
- (this.sourceResolution.Width * this.SourceAspect.Height * crop_height);
\r
+ (
(double)
this.sourceResolution.Width * this.SourceAspect.Height * crop_height);
\r
\r
this.Task.Width = (int)Math.Round(this.GetModulusValue(new_width), 0);
\r
this.NotifyOfPropertyChange(() => this.Task.Width);
\r