VfW: 10l in bime and refs
authorLoren Merritt <pengvado@videolan.org>
Sun, 12 Feb 2006 06:28:22 +0000 (06:28 +0000)
committerLoren Merritt <pengvado@videolan.org>
Sun, 12 Feb 2006 06:28:22 +0000 (06:28 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@433 df754926-b1dd-0310-bc7b-ec298dee348c

vfw/config.c

index 1ca227f..df494c4 100644 (file)
@@ -642,7 +642,7 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
                 config->b_bframe_adaptive = ( IsDlgButtonChecked( hTabs[2], IDC_BADAPT ) == BST_CHECKED );
                 break;
             case IDC_BIDIR_ME :
-                config->b_bidir_me = ( IsDlgButtonChecked( hTabs[2], IDC_BIDIR_ME ) == BST_UNCHECKED );
+                config->b_bidir_me = ( IsDlgButtonChecked( hTabs[2], IDC_BIDIR_ME ) == BST_CHECKED );
                 break;
             case IDC_P8X8 :
                 config->b_psub16x16 = ( IsDlgButtonChecked( hTabs[2], IDC_P8X8 ) == BST_CHECKED );
@@ -809,11 +809,6 @@ BOOL CALLBACK callback_tabs( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam
                     config->i_refmax = 16;
                     SetDlgItemInt( hTabs[3], IDC_REFFRAMES, config->i_refmax, FALSE );
                 }
-                if( config->i_refmax < 1 )
-                {
-                    config->i_refmax = 1;
-                    SetDlgItemInt( hTabs[3], IDC_REFFRAMES, config->i_refmax, FALSE );
-                }
                 break;
             case IDC_MERANGE :
                 config->i_me_range = GetDlgItemInt( hTabs[3], IDC_MERANGE, FALSE, FALSE );