avformat/file: use sequential file access
This commit is contained in:
parent
d5462e7923
commit
95ec711602
|
@ -302,7 +302,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