mirror of
https://github.com/nu774/fdkaac.git
synced 2025-02-01 16:16:58 +01:00
fix build issue on platform where fileno is a naive macro
This commit is contained in:
parent
8896249ac5
commit
f48bf1294c
@ -669,7 +669,7 @@ pcm_reader_t *open_input(aacenc_param_ex_t *params)
|
|||||||
goto END;
|
goto END;
|
||||||
}
|
}
|
||||||
io.cookie = params->input_fp;
|
io.cookie = params->input_fp;
|
||||||
if (fstat(fileno(io.cookie), &stb) == 0
|
if (fstat(fileno(params->input_fp), &stb) == 0
|
||||||
&& (stb.st_mode & S_IFMT) == S_IFREG)
|
&& (stb.st_mode & S_IFMT) == S_IFREG)
|
||||||
io.vtbl = &pcm_io_vtbl;
|
io.vtbl = &pcm_io_vtbl;
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user