mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
gme: Remove useless comparison of unsigned integer with < 0
CID 206187
This commit is contained in:
parent
fef775d703
commit
40d76ea7a5
1 changed files with 1 additions and 3 deletions
|
@ -217,9 +217,7 @@ gst_gme_dec_src_event (GstPad * pad, GstObject * parent, GstEvent * event)
|
|||
guint64 dest = (guint64) start;
|
||||
|
||||
if (gme->total_duration != GST_CLOCK_TIME_NONE)
|
||||
dest = CLAMP (dest, 0, gme->total_duration);
|
||||
else
|
||||
dest = MAX (0, dest);
|
||||
dest = MIN (dest, gme->total_duration);
|
||||
|
||||
if (dest == cur)
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue