From a184490e6c42736aee0316719f7b4e9d4dc1f997 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 20 May 2011 13:32:31 +0300 Subject: [PATCH] rmdemux: target is unsigned and can't be < 0 --- gst/realmedia/rmdemux.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c index e6b8ec6ddc..56c1f44483 100644 --- a/gst/realmedia/rmdemux.c +++ b/gst/realmedia/rmdemux.c @@ -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;