ov_fopen should be declared with const char *path
Hi!
The current declaration of ov_fopen is:
int ov_fopen(char *path,OggVorbis_File *vf);
Now, the only use of the path variable is to open a file, for which fopen is used. fopen takes a const char * argument, which implies that it does not muck around with the path. So, ov_fopen should also not modify path. I would, therefore, request you to modify the declaration to:
int ov_fopen(const char *path,OggVorbis_File *vf);
Since this is a style error, I take the liberty to call this a defect. Hope you don't mind. :-)
Thanks.
Kumar