gme: Remove useless comparison of unsigned integer with < 0

CID 206187
This commit is contained in:
Sebastian Dröge 2017-02-28 12:46:42 +02:00
parent fef775d703
commit 40d76ea7a5

View file

@ -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;