]> iEval git - fdkaac.git/commitdiff
fix build issue on platform where fileno is a naive macro
authornu774 <honeycomb77@gmail.com>
Fri, 25 Oct 2013 01:25:33 +0000 (10:25 +0900)
committernu774 <honeycomb77@gmail.com>
Fri, 25 Oct 2013 01:25:33 +0000 (10:25 +0900)
src/main.c

index d8ee02d816f434cf742c6762ce5a64343f800df4..952cfbccc4b91fb92f416992bcdd7326c8b99e6f 100644 (file)
@@ -669,7 +669,7 @@ pcm_reader_t *open_input(aacenc_param_ex_t *params)
         goto END;
     }
     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)
         io.vtbl = &pcm_io_vtbl;
     else
This page took 0.027122 seconds and 4 git commands to generate.