utils: remove duplicate check

This commit is contained in:
Tim-Philipp Müller 2016-01-20 11:07:17 +00:00
parent 469475f06b
commit 5ce5549ce0

View file

@ -3637,8 +3637,6 @@ gst_util_fraction_add (gint a_n, gint a_d, gint b_n, gint b_d, gint * res_n,
return FALSE;
if (G_MAXINT / ABS (a_d) < ABS (b_d))
return FALSE;
if (G_MAXINT / ABS (a_d) < ABS (b_d))
return FALSE;
*res_n = (a_n * b_d) + (a_d * b_n);
*res_d = a_d * b_d;