1
0
Fork 0

avformat/file: use sequential file access

This commit is contained in:
Hendrik Leppkes 2013-07-09 11:25:36 +02:00
parent d5462e7923
commit 95ec711602
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -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;