+
+ if ( ASDCP_SUCCESS(result) )
+ {
+ bool rc = TLVSet.FindTL(m_Dict->Type(MDD_IndexTableSegment_IndexEntryArray));
+
+ if ( rc )
+ {
+ ui32_t item_count, item_size;
+ ui32_t const decoder_item_size = IndexEntryArray.ItemSize();
+
+ if ( TLVSet.ReadUi32BE(&item_count) )
+ {
+ if ( TLVSet.ReadUi32BE(&item_size) )
+ {
+ for ( ui32_t i = 0; i < item_count && rc; ++i )
+ {
+ IndexEntry tmp_item;
+ rc = tmp_item.Unarchive(&TLVSet);
+
+ if ( rc )
+ {
+ IndexEntryArray.push_back(tmp_item);
+
+ if ( decoder_item_size < item_size )
+ {
+ TLVSet.SkipOffset(item_size - decoder_item_size);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ result = rc ? RESULT_OK : RESULT_FALSE;
+ }
+