--- a/accessoryservices/pluggeddisplay/edidparser/src/cea861edidparser.cpp Thu Jul 15 20:05:35 2010 +0300
+++ b/accessoryservices/pluggeddisplay/edidparser/src/cea861edidparser.cpp Thu Aug 19 11:09:10 2010 +0300
@@ -600,7 +600,8 @@
TCEA861TEdidDescriptorBlockList* lastnode = iParsedInfo->iDescriptorBlocks;
- for( TInt index = aIndex; index < KEdidParserSizeOfEdidBlock; index++ )
+ TInt index = aIndex;
+ while( index < KEdidParserSizeOfEdidBlock )
{
// Offset. If this is a newer version of CEA-861,
// then this is skipped (we are already past the offset)
@@ -635,6 +636,7 @@
else
{
// this is only padding, no need to do anything
+ index++;
}
// after the descriptors there is padding to fill Extension block to 128 bytes.