aboutsummaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorYusuke Nakamura2012-10-09 16:00:28 +0900
committerMartin Storsjö2012-10-09 11:27:12 +0300
commite04826c34e9b19cc4da60fd028334f12f84b4b2a (patch)
tree8565ab1c8e19ba482c6ac3c156186912775b36ef /libavformat/file.c
parentf79364b2c30aaaec9f0b1500a74da5a859c2ff37 (diff)
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/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;