diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2012-10-09 16:00:28 +0900 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-10-09 11:27:12 +0300 |
commit | e04826c34e9b19cc4da60fd028334f12f84b4b2a (patch) | |
tree | 8565ab1c8e19ba482c6ac3c156186912775b36ef /libavformat | |
parent | f79364b2c30aaaec9f0b1500a74da5a859c2ff37 (diff) | |
download | ffmpeg-e04826c34e9b19cc4da60fd028334f12f84b4b2a.tar.gz |
file: Set the return value type for lseek to int64_t.
This fixes a regression in 4ed5ac5.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/file.c | 2 |
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; |