projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456f28c
)
baseparse: Remove always-true-checks
author
Edward Hervey
<edward@collabora.com>
Sat, 5 Apr 2014 09:44:01 +0000
(11:44 +0200)
committer
Edward Hervey
<edward@collabora.com>
Sat, 5 Apr 2014 09:52:03 +0000
(11:52 +0200)
a gsize is guaranteed to be positive on all systems since it's an
unsigned value.
CID #1037147
libs/gst/base/gstbaseparse.c
patch
|
blob
|
history
diff --git
a/libs/gst/base/gstbaseparse.c
b/libs/gst/base/gstbaseparse.c
index
93d1ed2
..
166df0d
100644
(file)
--- a/
libs/gst/base/gstbaseparse.c
+++ b/
libs/gst/base/gstbaseparse.c
@@
-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);