[FFmpeg-cvslog] file: set the return value type for lseek to off_t
Jean First
git at videolan.org
Thu Sep 27 02:00:17 CEST 2012
ffmpeg | branch: master | Jean First <jeanfirst at gmail.com> | Thu Sep 27 01:08:51 2012 +0200| [d37044647f83f53a1cb711ea4655b944ff4af0e5] | committer: Michael Niedermayer
file: set the return value type for lseek to off_t
fixes a bug introduced with 4ed5ac50d3e4f921003ecf60985f78337400f354
Signed-off-by: Jean First <jeanfirst at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d37044647f83f53a1cb711ea4655b944ff4af0e5
---
libavformat/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/file.c b/libavformat/file.c
index defe316..8c41a3c 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;
More information about the ffmpeg-cvslog
mailing list