Minor robustness improvements for VTVideoDecodeAccelerator.
commite01484c024a19127571536dce4a5ab89ddbc9850
authorsandersd <sandersd@chromium.org>
Thu, 5 Feb 2015 00:01:11 +0000 (4 16:01 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 5 Feb 2015 00:01:54 +0000 (5 00:01 +0000)
tree6911cc726034302e86b47ed39d9c3833a3e22967
parent0a819bfc6db992a2742e18ba82a0156652bcc178
Minor robustness improvements for VTVideoDecodeAccelerator.

  - Fail if VideoToolbox returns a null pointer, instead of crashing.
  - Stop processing as soon as an error occurs.

BUG=453050

Review URL: https://codereview.chromium.org/900053002

Cr-Commit-Position: refs/heads/master@{#314682}
content/common/gpu/media/vt_video_decode_accelerator.cc