baseparse: Remove always-true-checks

a gsize is guaranteed to be positive on all systems since it's an
unsigned value.

CID #1037147
This commit is contained in:
Edward Hervey 2014-04-05 11:44:01 +02:00
parent 456f28cc61
commit 6c2c49a590

View file

@ -4516,7 +4516,6 @@ gst_base_parse_set_ts_at_offset (GstBaseParse * parse, gsize offset)
GstClockTime pts, dts;
g_return_if_fail (GST_IS_BASE_PARSE (parse));
g_return_if_fail (offset >= 0);
pts = gst_adapter_prev_pts_at_offset (parse->priv->adapter, offset, NULL);
dts = gst_adapter_prev_dts_at_offset (parse->priv->adapter, offset, NULL);