Update opusfile from 0.8 to 0.9
This commit is contained in:
parent
8611eb421d
commit
58a315fe3f
7 changed files with 538 additions and 369 deletions
|
@ -235,8 +235,7 @@ void *op_fopen(OpusFileCallbacks *_cb,const char *_path,const char *_mode){
|
|||
fp=fopen(_path,_mode);
|
||||
#else
|
||||
fp=NULL;
|
||||
if(_path==NULL||_mode==NULL)errno=EINVAL;
|
||||
else{
|
||||
{
|
||||
wchar_t *wpath;
|
||||
wchar_t *wmode;
|
||||
wpath=op_utf8_to_utf16(_path);
|
||||
|
@ -266,8 +265,7 @@ void *op_freopen(OpusFileCallbacks *_cb,const char *_path,const char *_mode,
|
|||
fp=freopen(_path,_mode,(FILE *)_stream);
|
||||
#else
|
||||
fp=NULL;
|
||||
if(_path==NULL||_mode==NULL)errno=EINVAL;
|
||||
else{
|
||||
{
|
||||
wchar_t *wpath;
|
||||
wchar_t *wmode;
|
||||
wpath=op_utf8_to_utf16(_path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue