Displaying 1 result from an estimated 1 matches for "_topen".
Did you mean:
_open
2005 May 23
1
Why does ov_open fail?
...*comment;
///////////////////////////////////////////////////////////////////////////
// 1) OPENING AND INITIALIZING THE OGG VORBIS FILE
///////////////////////////////////////////////////////////////////////////
//Let's open the file in binary mode for reading.
if (_topen(pFilePath, _O_RDONLY | _O_BINARY) == -1)
{
data.valid = false;
return;
}
// Let's initialize the OggVorbis_File.
if(ov_open(stdin, &vf, NULL, 0) < 0)
{
_close(0);
data.valid = false;
return;
}
.....
}
-------------- next pa...