Hi All...
Sergey wrote:
> I have changed thus:
> =======
> int fskip(FILE *sf,long num_bytes,int dummy)
> {
> char *data = (char *) malloc(num_bytes);
> return (num_bytes != fread(data,(size_t)1,(size_t)num_bytes,sf));
> free(data);
> }
> =======
>
I don't know if this is the literal code, or just a snip...
If it is literal, you'll have to do this a little differently cause you are
returning before you free the malloced space. Memory leak!
->Ilana Rudnik
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )