Commit 79703a24 authored by Jan Schmidt's avatar Jan Schmidt

gst/gstvalue.c: If someone is foolish enough to compare 2 fractions with...

gst/gstvalue.c: If someone is foolish enough to compare 2 fractions with denominator = 0, return UNORDERED rather tha...

Original commit message from CVS:
* gst/gstvalue.c: (gst_value_compare_fraction):
If someone is foolish enough to compare 2 fractions with denominator =
0, return UNORDERED rather than aborting.
parent fdb51251
2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gstvalue.c: (gst_value_compare_fraction):
If someone is foolish enough to compare 2 fractions with denominator =
0, return UNORDERED rather than aborting.
2006-11-28 Edward Hervey <edward@fluendo.com>
* libs/gst/base/Makefile.am:
......
......@@ -3706,7 +3706,6 @@ gst_value_compare_fraction (const GValue * value1, const GValue * value2)
/* new_num_1 == new_num_2 implies that both denominators must have
* been 0, beause otherwise simplification would have caught the
* equivalence */
g_assert_not_reached ();
return GST_VALUE_UNORDERED;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment