From ab379f2bb081f3fe2ea77ed163f755f59a49e6cf Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 12 Apr 2017 01:04:15 +0900 Subject: added wave output --- common/fmplayer_file_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/fmplayer_file_win.c') diff --git a/common/fmplayer_file_win.c b/common/fmplayer_file_win.c index 3397bcc..2910953 100644 --- a/common/fmplayer_file_win.c +++ b/common/fmplayer_file_win.c @@ -12,7 +12,7 @@ static void *fileread(const wchar_t *path, void *buf = 0; file = CreateFile(path, GENERIC_READ, 0, 0, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0); if (file == INVALID_HANDLE_VALUE) { - if (error) *error = FMPLAYER_FILE_ERR_FILEIO; + if (error) *error = FMPLAYER_FILE_ERR_NOTFOUND; goto err; } LARGE_INTEGER li; -- cgit v1.2.3