From 7312289d7629abb57ee0a707a528f8e62464450e Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 24 Sep 2020 11:36:06 -0400 Subject: [PATCH] cwAudioFile.cpp : Fixed bug in _get() that prevented all dependent function from reading at the correct location. --- cwAudioFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwAudioFile.cpp b/cwAudioFile.cpp index 89aa770..e2abe43 100644 --- a/cwAudioFile.cpp +++ b/cwAudioFile.cpp @@ -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 );