mmsengine/mmscodec/src/mmsdecode.cpp
branchRCL_3
changeset 17 caea42e26caa
parent 0 72b543305e3a
child 57 ebe688cedc25
equal deleted inserted replaced
9:1d7827e39b52 17:caea42e26caa
  4602     // amr part in addition to possible one smil
  4602     // amr part in addition to possible one smil
  4603     
  4603     
  4604     if ( iSmilCount <= 1 && iAudioCount == 1 &&
  4604     if ( iSmilCount <= 1 && iAudioCount == 1 &&
  4605        ( iAttaNumber == iSmilCount + iAudioCount ) )
  4605        ( iAttaNumber == iSmilCount + iAudioCount ) )
  4606         {
  4606         {
  4607          if(!CheckDRMContent())
  4607          if(!CheckDRMContentL())
  4608              {
  4608              {
  4609                 TBool audioSupported = EFalse;
  4609                 TBool audioSupported = EFalse;
  4610                 TRAP_IGNORE(
  4610                 TRAP_IGNORE(
  4611                     {
  4611                     {
  4612                     FeatureManager::InitializeLibL();
  4612                     FeatureManager::InitializeLibL();
  4652 
  4652 
  4653 // ---------------------------------------------------------
  4653 // ---------------------------------------------------------
  4654 // CMmsDecode::CheckDRMContent
  4654 // CMmsDecode::CheckDRMContent
  4655 // ---------------------------------------------------------
  4655 // ---------------------------------------------------------
  4656 //
  4656 //
  4657 TBool CMmsDecode::CheckDRMContent()
  4657 TBool CMmsDecode::CheckDRMContentL()
  4658     {
  4658     {
  4659     CFileProtectionResolver* resolver = CFileProtectionResolver::NewLC( iFs);
  4659     CFileProtectionResolver* resolver = CFileProtectionResolver::NewLC( iFs);
  4660 
  4660 
  4661     CMsvStore* store = iEntryWrapper->ReadStoreL();
  4661     CMsvStore* store = iEntryWrapper->ReadStoreL();
  4662     CleanupStack::PushL( store );
  4662     CleanupStack::PushL( store );