diff --git a/src/channel.cpp b/src/channel.cpp index 0e69e707..c004d51a 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -1100,17 +1100,17 @@ EPutDataStat CChannel::PutData ( const CVector& vecbyData, } } } - Mutex.unlock(); + } + Mutex.unlock(); - // actual initialization call has to be made - // outside the mutex region since it internally - // usees the same mutex, too - if ( bReinitializeIn ) - { - // re-initialize to new value - SetAudioBlockSizeAndComprIn ( - iNewAudioBlockSize, eNewAudComprType ); - } + // actual initialization call has to be made + // outside the mutex region since it internally + // usees the same mutex, too + if ( bReinitializeIn ) + { + // re-initialize to new value + SetAudioBlockSizeAndComprIn ( + iNewAudioBlockSize, eNewAudComprType ); } Mutex.lock();