commit | 7934a8f7ee0988b181980b9e6f24ca7dd357f5e3 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Fri Aug 24 14:49:33 2018 -0700 |
committer | Chong Zhang <chz@google.com> | Fri Aug 24 17:23:13 2018 -0700 |
tree | 6f8cba4a481eb17b7a40c62145c0e8473e3bb8b6 | |
parent | 5d2ca663c2144548f4236060732fe07eec6a0273 [diff] |
Fix race condition for cas sessions Change the session to shared_ptr and use atomic_load/store. Test: POC; CTS MediaCasTest; CTS MediaDrmClearkeyTest# testClearKeyPlaybackMpeg2ts bug: 113027383 Change-Id: I75f4cb33a022f28d45918442d64c5c46df2640ef