mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user