summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2007-09-12 07:45:02 +0000
committerritsuka <[email protected]>2007-09-12 07:45:02 +0000
commit981743e364450ce975121a2e8b7943c324212598 (patch)
treed1a1a5709341be7acc4ed3e19f9edcba36024500 /macosx
parent8d35ab5c34c0b5888f4c0e7d0dd6d00187bb06be (diff)
MacGui: Fix a crash in calculateBitrate:
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@954 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 74622d19e..4e30273fc 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -2744,7 +2744,7 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
- (IBAction) calculateBitrate: (id) sender
{
- if( !fHandle || [fVidQualityMatrix selectedRow] != 0 )
+ if( !fHandle || [fVidQualityMatrix selectedRow] != 0 || !SuccessfulScan )
{
return;
}