cwAudioFile.cpp : Fixed bug in _get() that prevented all dependent function from reading at the correct location.
This commit is contained in:
parent
fe5c069adb
commit
7312289d76
@ -964,7 +964,7 @@ namespace cw
|
||||
{
|
||||
rc_t rc;
|
||||
|
||||
if((rc = open( h, fn, afInfoPtr )) != kOkRC )
|
||||
if((rc = open( h, fn, afInfoPtr )) == kOkRC )
|
||||
if( begFrmIdx > 0 )
|
||||
rc = seek( h, begFrmIdx );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user