mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Default initialize RtpPayloadParams::chain_last_frame_id_
This ensures the chain calculation will start out with all chains reset. Bug: b/194980850 Change-Id: I8a9edf8ecaee961cdbaa51968917a2d829045575 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227281 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Emil Lundmark <lndmrk@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34598}
This commit is contained in:
parent
c3efa0031a
commit
adfc700008
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ RtpPayloadParams::RtpPayloadParams(const uint32_t ssrc,
|
|||
for (auto& spatial_layer : last_shared_frame_id_)
|
||||
spatial_layer.fill(-1);
|
||||
|
||||
chain_last_frame_id_.fill(-1);
|
||||
buffer_id_to_frame_id_.fill(-1);
|
||||
|
||||
Random random(rtc::TimeMicros());
|
||||
|
|
Loading…
Reference in a new issue