Simplified the function for detecting whether capture data is modified.

BUG=

Review URL: https://codereview.webrtc.org/1701843004

Cr-Original-Commit-Position: refs/heads/master@{#11704}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: 253d8fa82cfdbc1fa7571aa2cb3a9b2e7c2a5864
1 file changed