[FFmpeg-cvslog] file: Set the return value type for lseek to int64_t.
Yusuke Nakamura
git at videolan.org
Tue Oct 9 13:10:47 CEST 2012
ffmpeg | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Tue Oct 9 16:00:28 2012 +0900| [e04826c34e9b19cc4da60fd028334f12f84b4b2a] | committer: Martin Storsjö
file: Set the return value type for lseek to int64_t.
This fixes a regression in 4ed5ac5.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e04826c34e9b19cc4da60fd028334f12f84b4b2a
---
libavformat/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/file.c b/libavformat/file.c
index fc0af92..c552a9e 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;
More information about the ffmpeg-cvslog
mailing list