Check for null output buffer in MCVD CodecImage.
If the surface is destroyed, CodecImage will clear the codec buffer. If something later tries to draw that image, CodecImage tried to get the texture size from the codec buffer. This CL adds a null check. Bug: 835877 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I71830e0c029a1929154059e221938c332f5b9ffb Reviewed-on: https://chromium-review.googlesource.com/1033191Reviewed-by:Dan Sanders <sandersd@chromium.org> Commit-Queue: Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#554852}
Showing
Please register or sign in to comment