--- plugin_2pass2.c 2010/12/28 19:19:57 1.10.2.1 +++ plugin_2pass2.c 2010/12/28 19:19:43 1.11 @@ -25,7 +25,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: plugin_2pass2.c,v 1.10.2.1 2010/12/28 19:19:57 Isibaar Exp $ + * $Id: plugin_2pass2.c,v 1.11 2010/12/28 19:19:43 Isibaar Exp $ * *****************************************************************************/ @@ -467,7 +467,7 @@ /* vbv_size==0 switches VBV check off */ if (rc->param.vbv_size > 0) { - const float fps = (float)((double)create->fbase/(double)create->fincr); + const float fps = (float) ((double)create->fbase/(double)create->fincr); int status = check_curve_for_vbv_compliancy(rc, fps); if (status) { @@ -1361,7 +1361,7 @@ if (rc->count[i] == 0 || rc->pb_iboost_tax_ratio == 0) { rc->avg_length[i] = 1; } else { - rc->avg_length[i] = (double)rc->tot_scaled_length[i]; + rc->avg_length[i] = (double) rc->tot_scaled_length[i]; if (i == (XVID_TYPE_IVOP-1)) { /* I Frames total has to be added the boost total */