changeset 847:11278fe4764b trunk

[svn] - if (result >= 0) return the result of ftell, otherwise return -1.
author nenolod
date Tue, 13 Mar 2007 06:17:24 -0700
parents 76983ca8178a
children 2452835bbfcf
files ChangeLog src/ffmpeg/libavformat/file.c
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Mar 13 05:21:50 2007 -0700
+++ b/ChangeLog	Tue Mar 13 06:17:24 2007 -0700
@@ -1,3 +1,10 @@
+2007-03-13 12:21:50 +0000  Daniel Bradshaw <nazca@atheme.org>
+  revision [1792]
+  - Adjust indenting cause the previous indenting was painful
+  trunk/src/smb/smb.c |  179 +++++++++++++++++++++++-----------------------------
+  1 file changed, 82 insertions(+), 97 deletions(-)
+
+
 2007-03-13 12:11:48 +0000  Daniel Bradshaw <nazca@atheme.org>
   revision [1790]
   - Prototype smb:// vfs transport.  Needs testing.
--- a/src/ffmpeg/libavformat/file.c	Tue Mar 13 05:21:50 2007 -0700
+++ b/src/ffmpeg/libavformat/file.c	Tue Mar 13 06:17:24 2007 -0700
@@ -64,7 +64,7 @@
     VFSFile *file;
     file = h->priv_data;
     result = vfs_fseek(file, pos, whence);
-    if (result == 0)
+    if (result >= 0)
 	result = vfs_ftell(file);
     else
         result = -1;