diff -r 91f50911ea81 -r fb1bbf85a302 multimediacommsengine/mmceshared/src/mcecomamrwbcodec.cpp --- a/multimediacommsengine/mmceshared/src/mcecomamrwbcodec.cpp Tue May 25 13:07:26 2010 +0300 +++ b/multimediacommsengine/mmceshared/src/mcecomamrwbcodec.cpp Wed Jun 09 10:06:41 2010 +0300 @@ -300,22 +300,8 @@ // CMceComCodec* CMceComAMRWbCodec::DoMccValidateL( CMccCodecInformation& aMccCodec, CMceSrvStream& /*aStream*/, - TMceNegotiationRole aRole ) + TMceNegotiationRole /*aRole */) { - //if answerer mcc codec represents the received offer and codec the answer - //if offerer codec represents the sent offer and mcc codec the answer - - // Bitrates field contains also additional information, mask it away - TUint mccBitrates = ( aMccCodec.AllowedBitrates() & KMceAllowedAmrWbBitrateAll ); - TUint mceBitrates = ( iAllowedBitrates & KMceAllowedAmrWbBitrateAll ); - - TBool notValid = aRole == EMceRoleAnswerer ? - ( mceBitrates && mccBitrates == 0 || - mceBitrates > mccBitrates ) : - ( mceBitrates && mccBitrates == 0 || - mceBitrates < mccBitrates ); - - User::LeaveIfError( notValid ? KErrNotSupported : KErrNone ); if ( aMccCodec.CodecMode() != (TCodecMode)iCodecMode ) { // codec-mode was different, fail.