File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ bu_list_item_create(const bu_info_t *bu)
9696 item -> bu = (bu_info_t * )bu ;
9797 item -> validation_status = get_validation_status_from_bu (bu );
9898 item -> tmp_validation_status = item -> validation_status ;
99+ item -> validation_status_if_sei_ok = ' ' ;
100+ item -> verified_signature = -1 ;
99101
100102 return item ;
101103}
Original file line number Diff line number Diff line change @@ -179,9 +179,14 @@ struct _bu_list_item_t {
179179 bool has_been_decoded ; // Marks a SEI as decoded. Decoding it twice might overwrite
180180 // vital information.
181181 bool used_in_gop_hash ; // Marks the BU as being part of a computed |gop_hash|.
182-
183182 bool used_for_linked_hash ;
184183
184+ // Members used when there are unsigned SEIs involved. The content of a SEI can only be
185+ // trusted once the signed SEI has been verified.
186+ char validation_status_if_sei_ok ;
187+ const bu_list_item_t * associated_sei ; // Which SEI this item is associated with.
188+ int verified_signature ;
189+
185190 // Members used when synchronizing the first usable SEI with the I-frame(s).
186191 bool in_validation ; // Marks the SEI that is currently up for use.
187192 char tmp_validation_status ; // Temporary status used before updating the final one.
You can’t perform that action at this time.
0 commit comments