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 65e097b8ed
commit bc1c7b828d
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

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