rmdemux: target is unsigned and can't be < 0

This commit is contained in:
Stefan Kost 2011-05-20 13:32:31 +03:00
parent d229a538dc
commit a184490e6c

View file

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