offsets may be negative (nobody ever seeked beackwards, hu?)

Original commit message from CVS:
offsets may be negative (nobody ever seeked beackwards, hu?)
This commit is contained in:
Benjamin Otte 2003-04-28 21:48:37 +00:00
parent 7c9480e220
commit 7524c49140
2 changed files with 2 additions and 2 deletions

View file

@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
{
guint64 offset;
gint64 offset;
if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) {
goto error;

View file

@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event)
switch (GST_EVENT_TYPE (event)) {
case GST_EVENT_SEEK:
{
guint64 offset;
gint64 offset;
if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) {
goto error;