[vlc-devel] commit: Fixed typo in avformat access. (Laurent Aimar )

git version control git at videolan.org
Sat Jan 23 18:43:07 CET 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sat Jan 23 18:42:29 2010 +0100| [68684aa49b127b1fc744cde79862fa8091941b88] | committer: Laurent Aimar 

Fixed typo in avformat access.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=68684aa49b127b1fc744cde79862fa8091941b88
---

 modules/access/avio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/avio.c b/modules/access/avio.c
index e1d020c..2063f08 100644
--- a/modules/access/avio.c
+++ b/modules/access/avio.c
@@ -153,7 +153,7 @@ static int Seek(access_t *access, uint64_t position)
 {
     access_sys_t *sys = access->p_sys;
 
-    if (position >= INT64_MIN ||
+    if (position > INT64_MAX ||
         url_seek(sys->context, position, SEEK_SET) < 0) {
         msg_Err(access, "Seek to %"PRIu64" failed\n", position);
         if (access->info.i_size <= 0 || position != access->info.i_size)




More information about the vlc-devel mailing list