Since the frame is processed on the same thread as the decoding happens on, keeping a reference to the frame may cause deadlocks on some implementations. Longer term, we should probably move the frame processing to a separate thread but this is an easy fix for now. Bug: b/110246814 Change-Id: I251737e2188e1755d45b35165586d1b0daf14595 Reviewed-on: https://webrtc-review.googlesource.com/87104 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23843}