Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
Get the arguments to lseek() the right way around.
Fixes 367677.
+2006-10-30 Michael Smith <msmith@fluendo.com>
+
+ * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
+ Get the arguments to lseek() the right way around.
+ Fixes 367677.
+
2006-10-30 Wim Taymans <wim@fluendo.com>
Patch by: gorshkov <gorshkov at oghma dot on dot ca>
goto not_seekable;
/* Try a seek of 0 bytes offset to check for seekability */
- if (lseek (src->fd, SEEK_CUR, 0) < 0)
+ if (lseek (src->fd, 0, SEEK_CUR) < 0)
goto not_seekable;
src->seekable_fd = TRUE;