OSDN Git Service

MacGui: Fix a crash in calculateBitrate:
[handbrake-jp/handbrake-jp-git.git] / macosx / Controller.mm
index 74622d1..4e30273 100644 (file)
@@ -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;
     }