diff options
author | Jean First <jeanfirst@gmail.com> | 2012-09-27 03:08:51 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-27 03:47:49 +0400 |
commit | d37044647f83f53a1cb711ea4655b944ff4af0e5 (patch) | |
tree | c5f1a386f0f6964f245a2013bdfd23b5dcbcc539 /libavformat | |
parent | c76ffdc251be85a37b66ac10f432d777b9a32e64 (diff) |
file: set the return value type for lseek to off_t
fixes a bug introduced with 4ed5ac50d3e4f921003ecf60985f78337400f354
Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 defe3165e2..8c41a3c372 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -135,7 +135,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; + off_t ret; if (whence == AVSEEK_SIZE) { struct stat st; |