Browse Source

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>
tags/n1.1
Yusuke Nakamura Martin Storsjö 12 years ago
parent
commit
e04826c34e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/file.c

+ 1
- 1
libavformat/file.c View File

@@ -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) static int64_t file_seek(URLContext *h, int64_t pos, int whence)
{ {
FileContext *c = h->priv_data; FileContext *c = h->priv_data;
int ret;
int64_t ret;


if (whence == AVSEEK_SIZE) { if (whence == AVSEEK_SIZE) {
struct stat st; struct stat st;


Loading…
Cancel
Save