@@ -1,11 +1,11 | |||
|
1 | 1 | #include <file_utilities.h> |
|
2 | 2 | |
|
3 | int lecture_file_sm() | |
|
3 | int lecture_file_sm(const char * fileName) | |
|
4 | 4 | { |
|
5 | 5 | unsigned int i; |
|
6 | 6 | |
|
7 | 7 | FILE *infile; |
|
8 |
infile = fopen( |
|
|
8 | infile = fopen(fileName, "rb"); // open explicitely a binary file !!! ... | |
|
9 | 9 | if(infile == NULL) { |
|
10 | 10 | printf("Hello I cannot open the file!\n"); |
|
11 | 11 | return 0; |
@@ -8,6 +8,6 extern float compressed_spectral_matrix_ | |||
|
8 | 8 | extern unsigned char LFR_BP1_F0[ ]; |
|
9 | 9 | extern unsigned char LFR_BP2_F0[ ]; |
|
10 | 10 | |
|
11 | int lecture_file_sm(); | |
|
11 | int lecture_file_sm(const char *fileName); | |
|
12 | 12 | |
|
13 | 13 | #endif // FILE_UTILITIES_H |
General Comments 0
You need to be logged in to leave comments.
Login now