summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index fc0af92277..c552a9eaa5 100644
--- a/libavformat/file.c
+++ b/libavformat/file.c
@@ -121,7 +121,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
static int64_t file_seek(URLContext *h, int64_t pos, int whence)
{
FileContext *c = h->priv_data;
- int ret;
+ int64_t ret;
if (whence == AVSEEK_SIZE) {
struct stat st;