rmdemux: target is unsigned and can't be < 0
authorStefan Kost <ensonic@users.sf.net>
Fri, 20 May 2011 10:32:31 +0000 (13:32 +0300)
committerNikhil Devshatwar <a0132237@ti.com>
Fri, 17 May 2013 09:40:32 +0000 (15:10 +0530)
gst/realmedia/rmdemux.c

index e6b8ec6ddcca7c24f7c05c2a32b05cebee390f8d..56c1f444834086207fa8b9960f464a03a5c5c386 100644 (file)
@@ -400,9 +400,6 @@ find_seek_offset_bytes (GstRMDemux * rmdemux, guint target)
   GSList *cur;
   gboolean ret = FALSE;
 
-  if (target < 0)
-    return FALSE;
-
   for (cur = rmdemux->streams; cur; cur = cur->next) {
     GstRMDemuxStream *stream = cur->data;