hi,all
today, i writed several codes in the file /modules/codec/avcodec/video.c to read a harddisk file into the memory. But crashed. the codes is as follows:
File *f;
char *path="F:/data.DAT";
int *table;
f=fopen(path,'rb');
tabel = malloc(SIZE);
fread(table,sizeof(int),Size,f);
then compile and make package-win32-base successfully. But can not open any files. once open then shut down.
What's the problem?
Hope for help!!!