Prevents UAF when switching decoder capabilities and the previously-supported decoder is currently being received on. BUG=chromium:565967 R=stefan@webrtc.org Review URL: https://codereview.webrtc.org/1490233010 . Cr-Commit-Position: refs/heads/master@{#10898}