avformat/file: use sequential file access
This commit is contained in:
parent
65e097b8ed
commit
bc1c7b828d
|
@ -323,7 +323,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
|
|||
if (c->trunc)
|
||||
access |= O_TRUNC;
|
||||
} else {
|
||||
access = O_RDONLY;
|
||||
access = O_RDONLY | O_SEQUENTIAL;
|
||||
}
|
||||
#ifdef O_BINARY
|
||||
access |= O_BINARY;
|
||||
|
|
Loading…
Reference in New Issue