Module: libav
Branch: master
Commit: e04826c34e9b19cc4da60fd028334f12f84b4b2a

Author:    Yusuke Nakamura <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Tue Oct  9 16:00:28 2012 +0900

file: Set the return value type for lseek to int64_t.

This fixes a regression in 4ed5ac5.

Signed-off-by: Martin Storsjö <[email protected]>

---

 libavformat/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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;

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to