mmserv/metadatautility/Src/MetaDataParserMP4.cpp
changeset 47 c2e43643db4c
parent 0 71ca22bcf22a
child 46 0ac9a5310753
--- a/mmserv/metadatautility/Src/MetaDataParserMP4.cpp	Wed Aug 18 10:17:22 2010 +0300
+++ b/mmserv/metadatautility/Src/MetaDataParserMP4.cpp	Thu Sep 02 20:58:01 2010 +0300
@@ -64,8 +64,8 @@
 	RDebug::Print(_L("CMetaDataParserMP4::InitializeFileL - MP4ParseOpen err = %d"), err);
 #endif
 	User::LeaveIfError(TranslateMP4Err(err));
-	MP4SetCustomFileBufferSizes( iMP4Handle, 0, 0, KCustomFileBufferSize);
-	if ( ValidateL() )
+	MP4Err mp4Err = MP4SetCustomFileBufferSizes( iMP4Handle, 0, 0, KCustomFileBufferSize);
+	if ( (mp4Err == MP4_OK) && ValidateL() )
 		{
 		User::LeaveIfError(iFs.Connect());
 		// Get list of charconv supported character sets