eitd: change SIevents type to vector - no need to sort this temp list

Origin commit data
------------------
Commit: a4a3d20667
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-06-05 (Tue, 05 Jun 2012)
This commit is contained in:
[CST] Focus
2012-06-05 20:18:48 +04:00
parent 728a85fafa
commit 2b7dd1e3b1
3 changed files with 7 additions and 4 deletions

View File

@@ -68,7 +68,8 @@ void SIsectionEIT::parse(void)
e.version = version;
e.parse(event);
evts.insert(e);
//evts.insert(e);
evts.push_back(e);
}
parsed = 1;
}
@@ -106,7 +107,8 @@ void SIsectionEIT::parse(void)
e.version = version_number;
descriptors_loop_length = sizeof(struct eit_event) + ((evt->descriptors_loop_length_hi << 8) | evt->descriptors_loop_length_lo);
e.parseDescriptors(actPos, min((unsigned)(bufEnd - actPos), descriptors_loop_length));
evts.insert(e);
//evts.insert(e);
evts.push_back(e);
actPos += descriptors_loop_length;
}
parsed = 1;