]> git.sesse.net Git - vlc/commitdiff
Fixed typo in avformat access.
authorLaurent Aimar <fenrir@videolan.org>
Sat, 23 Jan 2010 17:42:29 +0000 (18:42 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 23 Jan 2010 17:42:29 +0000 (18:42 +0100)
modules/access/avio.c

index e1d020c16fa59236bd813718fd1f000c17e53819..2063f086e802f85147ff10f1bf6b6568aef8e66f 100644 (file)
@@ -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)