From 68684aa49b127b1fc744cde79862fa8091941b88 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Sat, 23 Jan 2010 18:42:29 +0100 Subject: [PATCH] Fixed typo in avformat access. --- modules/access/avio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/avio.c b/modules/access/avio.c index e1d020c16f..2063f086e8 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) -- 2.39.5