mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
plugins/elements/gstfdsrc.c: Get the arguments to lseek() the right way around.
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.
This commit is contained in:
parent
656c529833
commit
94fc10847a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
|
|
@ -204,7 +204,7 @@ gst_fd_src_update_fd (GstFdSrc * src)
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue