mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
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:
parent
456f28cc61
commit
6c2c49a590
1 changed files with 0 additions and 1 deletions
|
@ -4516,7 +4516,6 @@ gst_base_parse_set_ts_at_offset (GstBaseParse * parse, gsize offset)
|
||||||
GstClockTime pts, dts;
|
GstClockTime pts, dts;
|
||||||
|
|
||||||
g_return_if_fail (GST_IS_BASE_PARSE (parse));
|
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);
|
pts = gst_adapter_prev_pts_at_offset (parse->priv->adapter, offset, NULL);
|
||||||
dts = gst_adapter_prev_dts_at_offset (parse->priv->adapter, offset, NULL);
|
dts = gst_adapter_prev_dts_at_offset (parse->priv->adapter, offset, NULL);
|
||||||
|
|
Loading…
Reference in a new issue