mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 09:29:29 +00:00
Replace hardcoded 0 by equivalent O_RDONLY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24830 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bcc10e0961
commit
0f50b44313
@ -3560,7 +3560,7 @@ static HANDLE WINAPI expCreateFileA(LPCSTR cs1,DWORD i1,DWORD i2,
|
||||
if (strstr(cs1, "WINNOV.bmp"))
|
||||
{
|
||||
int r;
|
||||
r=open("/dev/null", 0);
|
||||
r=open("/dev/null", O_RDONLY);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user